Skip to content

Commit

Permalink
add support for Query Params
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtaste committed Nov 24, 2024
1 parent 525cf48 commit 54e53e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/atomWithQueryParams.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { SetStateAction, WritableAtom } from 'jotai';
import { atom } from 'jotai';
import { atomWithLocation } from 'jotai-location';
import type { SetStateAction, WritableAtom } from 'jotai/vanilla';
import { atom } from 'jotai/vanilla';
import { atomWithLocation } from './atomWithLocation';

// Create an atom for managing location state, including query parameters.
const locationAtom = atomWithLocation();
Expand Down

0 comments on commit 54e53e8

Please sign in to comment.