File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,14 @@ import {
1010 Stack
1111} from '@mui/material'
1212import { ThemeProvider , createTheme } from '@mui/material/styles'
13- import { useDispatch , useSelector } from 'react-redux'
13+ import { useSelector } from 'react-redux'
1414import 'react-tooltip/dist/react-tooltip.css'
1515import { setSelectedProductFilters } from '../../redux/slices/mainSlice'
1616import { store } from '../../redux/store'
1717import { newSearch } from '../../utils/searchHelper'
1818import './Filter.css'
1919
2020const 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 : {
You can’t perform that action at this time.
0 commit comments