aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/lib
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-04-10 15:36:51 -0700
committerDhravya <[email protected]>2024-04-10 15:36:51 -0700
commitfeea1a26dc19074fd58ad156cd418c3efb1971b6 (patch)
treed6cb551d3489fff6b78cb7e9ad0c11b2a8d04826 /apps/web/src/lib
parentadded ext.css, prevent css mismatch (diff)
downloadsupermemory-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.ts22
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),
+});