Skip to content

Commit

Permalink
fix: s2cell state
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Sep 13, 2023
1 parent 97d597a commit 0772d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/tiles/S2Cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
S2Point,
} from 'nodes2ts'

import { basicEqualFn, useStatic, useStore } from '@hooks/useStore'
import { useStatic, useStore } from '@hooks/useStore'

import Notification from '@components/layout/general/Notification'
import { getQueryArgs } from '@services/functions/getQueryArgs'
Expand Down Expand Up @@ -45,7 +45,7 @@ export function GenerateCells() {
: s.userSettings.s2cells.lightMapBorder,
)
/** @type {number[]} */
const filter = useStore((s) => s.filters.s2cells.cells, basicEqualFn)
const filter = useStore((s) => s.filters.s2cells.cells)
const location = useStore((s) => s.location)
const zoom = useStore((s) => s.zoom)

Expand Down

0 comments on commit 0772d89

Please sign in to comment.