diff options
| author | Dhravya <[email protected]> | 2024-04-10 15:36:51 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-10 15:36:51 -0700 |
| commit | feea1a26dc19074fd58ad156cd418c3efb1971b6 (patch) | |
| tree | d6cb551d3489fff6b78cb7e9ad0c11b2a8d04826 /apps/web/src/lib | |
| parent | added ext.css, prevent css mismatch (diff) | |
| download | supermemory-feea1a26dc19074fd58ad156cd418c3efb1971b6.tar.xz supermemory-feea1a26dc19074fd58ad156cd418c3efb1971b6.zip | |
extension styling such that website content is not affected https://twitter.com/DhravyaShah/status/1778189224396922948
Diffstat (limited to 'apps/web/src/lib')
| -rw-r--r-- | apps/web/src/lib/searchParams.ts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/web/src/lib/searchParams.ts b/apps/web/src/lib/searchParams.ts index b435295d..aae3f4c7 100644 --- a/apps/web/src/lib/searchParams.ts +++ b/apps/web/src/lib/searchParams.ts @@ -1,12 +1,12 @@ import { - createSearchParamsCache, - parseAsInteger, - parseAsString - } from 'nuqs/server' - // Note: import from 'nuqs/server' to avoid the "use client" directive - - export const searchParamsCache = createSearchParamsCache({ - // List your search param keys and associated parsers here: - q: parseAsString.withDefault(''), - maxResults: parseAsInteger.withDefault(10) - })
\ No newline at end of file + createSearchParamsCache, + parseAsInteger, + parseAsString, +} from "nuqs/server"; +// Note: import from 'nuqs/server' to avoid the "use client" directive + +export const searchParamsCache = createSearchParamsCache({ + // List your search param keys and associated parsers here: + q: parseAsString.withDefault(""), + maxResults: parseAsInteger.withDefault(10), +}); |