Skip to content

Commit

Permalink
fix: Farm view setting change view of pool or vice versa (pancakeswap…
Browse files Browse the repository at this point in the history
  • Loading branch information
memoyil authored Jul 22, 2021
1 parent 15e7e1f commit c94300b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Pools/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Pools: React.FC = () => {
const [numberOfPoolsVisible, setNumberOfPoolsVisible] = useState(NUMBER_OF_POOLS_VISIBLE)
const [observerIsSet, setObserverIsSet] = useState(false)
const loadMoreRef = useRef<HTMLDivElement>(null)
const [viewMode, setViewMode] = usePersistState(ViewMode.TABLE, { localStorageKey: 'pancake_farm_view' })
const [viewMode, setViewMode] = usePersistState(ViewMode.TABLE, { localStorageKey: 'pancake_pool_view' })
const [searchQuery, setSearchQuery] = useState('')
const [sortOption, setSortOption] = useState('hot')
const chosenPoolsLength = useRef(0)
Expand Down

0 comments on commit c94300b

Please sign in to comment.