-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn variables into stores to keep them while navigating (#27)
* Turn variables into stores to keep them while navigating * Fix bug with initial token value being null
- Loading branch information
1 parent
b1fb452
commit 3a53489
Showing
2 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { Models } from '@kittycad/lib' | ||
import { writable } from 'svelte/store' | ||
|
||
export const generations = writable<Models['TextToCad_type'][]>([]) | ||
export const nextPageToken = writable<string | null | undefined>(undefined) |