mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: add caching
This commit is contained in:
1 parent
d276aa52ae
commit
3b96da1ec5
1 file changed
+7
@@ -56,6 +56,13 @@ function createFeedbackStore() {
|
||||
}
|
||||
export const feedback = createFeedbackStore();
|
||||
|
||||
if (browser) {
|
||||
feedback.subscribe((feed) => {
|
||||
feed.elapsed = parseInt(localStorage.getItem('feedbackElapsed') ?? '0');
|
||||
feed.visualized = parseInt(localStorage.getItem('feedbackVisualized') ?? '0');
|
||||
});
|
||||
}
|
||||
|
||||
if (browser) {
|
||||
app.update((n) => ({
|
||||
...n,
|
||||
|
||||
Reference in new issue
Block a user