Skip to content

Commit b7049f9

Browse files
committed
cleanup
1 parent dea1857 commit b7049f9

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/components/Filter/Filter.jsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ import {
1010
Stack
1111
} from '@mui/material'
1212
import { ThemeProvider, createTheme } from '@mui/material/styles'
13-
import { useDispatch, useSelector } from 'react-redux'
13+
import { useSelector } from 'react-redux'
1414
import 'react-tooltip/dist/react-tooltip.css'
1515
import { setSelectedProductFilters } from '../../redux/slices/mainSlice'
1616
import { store } from '../../redux/store'
1717
import { newSearch } from '../../utils/searchHelper'
1818
import './Filter.css'
1919

2020
const Filter = () => {
21-
const dispatch = useDispatch()
22-
const _selectedCollectionData = useSelector(
23-
(state) => state.mainSlice.selectedCollectionData
24-
)
2521

2622
// State that should contain the selected filters
2723
const _selectedProductFilters = useSelector(
@@ -31,12 +27,6 @@ const Filter = () => {
3127
(state) => state.mainSlice.selectedProductData
3228
)
3329

34-
const _viewMode = useSelector((state) => state.mainSlice.viewMode)
35-
const _searchGeojsonBoundary = useSelector(
36-
(state) => state.mainSlice.searchGeojsonBoundary
37-
)
38-
const _appConfig = useSelector((state) => state.mainSlice.appConfig)
39-
const mosaicTilerURL = _appConfig.MOSAIC_TILER_URL || ''
4030

4131
const theme = createTheme({
4232
components: {

0 commit comments

Comments
 (0)