Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(history): use localstorage for query local result #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

m1911star
Copy link

  • use localstorage for temporary function to store local cache( indexdb maybe a better solution ?)
  • Just wonder whether there is any roadmap about account system to store history in cloud
0130.mp4

@m1911star
Copy link
Author

any update?

@leoqin10
Copy link

run but get error

./src/app/page.tsx:13:10
Type error: Property 'history' is missing in type '{}' but required in type '{ history: string[]; }'.

  11 |       <div className="relative flex flex-col gap-8 px-4 -mt-24">
  12 |         <Logo></Logo>
> 13 |         <Search></Search>
     |          ^
  14 |         <div className="flex gap-2 flex-wrap justify-center">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants