Skip to content

Commit 35cb81b

Browse files
committed
move util to fitting plugin
1 parent dfca21a commit 35cb81b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/clients/textLocator/src/plugins/GeometrySearch/store/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
import { searchGeometry } from '../../../utils/coastalGazetteer/searchGeometry'
1515
import { getEmptyFeatureCollection } from '../../../utils/coastalGazetteer/responseInterpreter'
1616
import { searchLiteratureByToponym } from '../../../utils/literatureByToponym'
17-
import { makeTreeView } from '../../../utils/makeTreeView'
17+
import { makeTreeView } from '../utils/makeTreeView'
1818

1919
let counter = 0
2020
const searchLoadingKey = 'geometrySearchLoadingKey'

packages/clients/textLocator/src/utils/makeTreeView.ts renamed to packages/clients/textLocator/src/plugins/GeometrySearch/utils/makeTreeView.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import {
2-
TextLocatorCategories,
3-
TreeViewItem,
4-
} from '../plugins/GeometrySearch/types'
5-
import { TitleLocationFrequency } from './literatureByToponym'
1+
import { TextLocatorCategories, TreeViewItem } from '../types'
2+
import { TitleLocationFrequency } from '../../../utils/literatureByToponym'
63

74
export const makeTreeView = (
85
titleLocationFrequency: TitleLocationFrequency,

0 commit comments

Comments
 (0)