Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanes committed Nov 27, 2024
1 parent c958498 commit c0c7d9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/frontend/src/api/useDialogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import {
type SearchDialogFieldsFragment,
SystemLabel,
} from 'bff-types-generated';
import { useEffect, useState } from 'react';
import { useDebounce } from 'use-debounce';
import type { InboxItemMetaField, InboxItemMetaFieldType } from '../components';
import { QUERY_KEYS } from '../constants/queryKeys.ts';
import { i18n } from '../i18n/config.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/Header/SearchDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { ChevronRightIcon } from '@navikt/aksel-icons';
import cx from 'classnames';
import { useTranslation } from 'react-i18next';
import { useLocation } from 'react-router-dom';
import { useSearchDialogs } from '../../api/useDialogs';
import { useParties } from '../../api/useParties';
import { useFormatDistance } from '../../i18n/useDateFnsLocale.tsx';
import SearchFilterTag from '../../pages/SavedSearches/SearchFilterTag/SearchFilterTag.tsx';
import { autoFormatRelativeTime } from '../../pages/SavedSearches/searchUtils.ts';
import { useSavedSearches } from '../../pages/SavedSearches/useSavedSearches.ts';
import { PlusIcon } from '../Icons';
import { InboxItem } from '../InboxItem';
import { useSearchDialogs } from '../PageLayout/Search/useSearchString.tsx';
import { SearchDropdownItem } from './SearchDropdownItem';
import { SearchDropdownSkeleton } from './SearchDropdownSkeleton';
import styles from './search.module.css';
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/pages/Inbox/Inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next';
import { useLocation, useSearchParams } from 'react-router-dom';
import { createSavedSearch } from '../../api/queries.ts';
import type { Participant } from '../../api/useDialogById.tsx';
import { type InboxViewType, getViewType, useDialogs, useSearchDialogs } from '../../api/useDialogs.tsx';
import { type InboxViewType, getViewType, useDialogs } from '../../api/useDialogs.tsx';
import { useParties } from '../../api/useParties.ts';
import type { InboxItemMetaField } from '../../components';
import {
Expand All @@ -22,7 +22,7 @@ import {
import type { FilterBarRef } from '../../components/FilterBar/FilterBar.tsx';
import { FosToolbar } from '../../components/FosToolbar';
import { InboxItemsHeader } from '../../components/InboxItem/InboxItemsHeader.tsx';
import { useSearchString } from '../../components/PageLayout/Search/useSearchString.tsx';
import { useSearchDialogs, useSearchString } from '../../components/PageLayout/Search/useSearchString.tsx';
import { SaveSearchButton } from '../../components/SavedSearchButton/SaveSearchButton.tsx';
import { QUERY_KEYS } from '../../constants/queryKeys.ts';
import { FeatureFlagKeys, useFeatureFlag } from '../../featureFlags';
Expand Down

0 comments on commit c0c7d9a

Please sign in to comment.