Skip to content

Commit

Permalink
[Tech] rename file
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Oct 12, 2023
1 parent fc25cba commit edf7ed6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/domain/shared_slices/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { baseTablePersistedReducer } from '../../features/Base/components/BaseTa
import { controlUnitDialogReducer } from '../../features/ControlUnit/components/ControlUnitDialog/slice'
import { controlUnitListDialogPersistedReducer } from '../../features/ControlUnit/components/ControlUnitListDialog/slice'
import { controlUnitTablePersistedReducer } from '../../features/ControlUnit/components/ControlUnitTable/slice'
import { layerSearchSliceReducer } from '../../features/layersSelector/search/LayerSearch.slice'
import { layerSearchSliceReducer } from '../../features/layersSelector/search/slice'
import { mainWindowReducer } from '../../features/MainWindow/slice'
import { sideWindowReducer } from '../../features/SideWindow/slice'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
setIsAmpSearchResultsVisible,
setIsRegulatorySearchResultsExpanded,
setIsRegulatorySearchResultsVisible
} from '../LayerSearch.slice'
} from '../slice'

export function ResultList({ searchedText }) {
const {
Expand Down
7 changes: 1 addition & 6 deletions frontend/src/features/layersSelector/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ import { useState, useEffect, useMemo, useRef } from 'react'
import styled from 'styled-components'

import { LayerFilters } from './LayerFilters'
import {
resetSearchExtent,
setAMPsSearchResult,
setRegulatoryLayersSearchResult,
setSearchExtent
} from './LayerSearch.slice'
import { ResultList } from './ResultsList'
import { SearchInput } from './SearchInput'
import { resetSearchExtent, setAMPsSearchResult, setRegulatoryLayersSearchResult, setSearchExtent } from './slice'
import { useGetAMPsQuery } from '../../../api/ampsAPI'
import { setFitToExtent } from '../../../domain/shared_slices/Map'
import { useAppDispatch } from '../../../hooks/useAppDispatch'
Expand Down
1 change: 1 addition & 0 deletions frontend/src/hooks/useAppSelector.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-restricted-imports */
import { useSelector } from 'react-redux'

import type { HomeRootState } from '../store'
Expand Down

0 comments on commit edf7ed6

Please sign in to comment.