Skip to content

Commit

Permalink
fix: change import from parsers to server for deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Sep 22, 2024
1 parent cc022f3 commit 63816fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { items } from '@/mock-data/items';
import { useTranslations } from 'next-intl';
import { getTranslations, unstable_setRequestLocale } from 'next-intl/server';
import { createSearchParamsCache, parseAsInteger } from 'nuqs/parsers';
import { createSearchParamsCache, parseAsInteger } from 'nuqs/server';

import { PaginationCarousel } from '@/components/layout/PaginationCarousel';
import { ItemCard } from '@/components/storage/ItemCard';
Expand Down
2 changes: 1 addition & 1 deletion src/components/storage/CategorySelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useSearchParams } from 'next/navigation';
import { useQueryState } from 'nuqs';
import { parseAsString } from 'nuqs/parsers';
import { parseAsString } from 'nuqs/server';
import { Combobox } from '../ui/Combobox';

type CategorySelectorProps = {
Expand Down

0 comments on commit 63816fb

Please sign in to comment.