aboutsummaryrefslogtreecommitdiff
path: root/apps/web/lib
diff options
context:
space:
mode:
authorcodetorso <[email protected]>2024-07-01 06:08:17 +0530
committercodetorso <[email protected]>2024-07-01 06:08:17 +0530
commit4d381dd00f95e174a6d771dafe71b8ed673f8fab (patch)
tree20b3a9c9c43a109028b06b6cf3b3bc199a7c2771 /apps/web/lib
parentfix typescript errors (diff)
downloadsupermemory-4d381dd00f95e174a6d771dafe71b8ed673f8fab.tar.xz
supermemory-4d381dd00f95e174a6d771dafe71b8ed673f8fab.zip
canvas (3/3)
Diffstat (limited to 'apps/web/lib')
-rw-r--r--apps/web/lib/loadSnap.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/lib/loadSnap.ts b/apps/web/lib/loadSnap.ts
index fb4647f6..0d5bb593 100644
--- a/apps/web/lib/loadSnap.ts
+++ b/apps/web/lib/loadSnap.ts
@@ -9,6 +9,6 @@ export async function loadRemoteSnapshot(id:string) {
const newStore = createTLStore({
shapeUtils: [...defaultShapeUtils, twitterCardUtil, textCardUtil],
});
- loadSnapshot(newStore, snapshot);
+ loadSnapshot(newStore, snapshot.snapshot);
return newStore;
}