Skip to content

Commit 4b91484

Browse files
chore: fix ready lock
1 parent 6866254 commit 4b91484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/grida-canvas-hosted/playground/playground.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export default function CanvasPlayground({
238238
useSyncMultiplayerCursors(instance, room_id);
239239
const fonts = useEditorState(instance, (state) => state.webfontlist.items);
240240
const [documentReady, setDocumentReady] = useState(() => !src);
241-
const [canvasReady, setCanvasReady] = useState(() => backend !== "canvas");
241+
const [canvasReady, setCanvasReady] = useState(false);
242242
const [canvasElement, setCanvasElement] = useState<HTMLCanvasElement | null>(
243243
null
244244
);

0 commit comments

Comments
 (0)