There was an error while loading. Please reload this page.
1 parent 961747a commit 597e7b5Copy full SHA for 597e7b5
1 file changed
apps/frontend/src/pages/board/SharedBoardPage.tsx
@@ -44,6 +44,7 @@ const VIEWER_UI_OPTIONS = {
44
type Snapshot = {
45
elements?: readonly unknown[] | null;
46
appState?: Record<string, unknown> | null;
47
+ files?: Record<string, unknown> | null;
48
};
49
50
export function SharedBoardPage() {
@@ -109,6 +110,7 @@ export function SharedBoardPage() {
109
110
normalizeAppStateForExcalidraw(snapshot.appState) ??
111
snapshot.appState ??
112
undefined,
113
+ files: snapshot.files ?? undefined,
114
} as React.ComponentProps<typeof Excalidraw>["initialData"];
115
116
return (
0 commit comments