Skip to content

Commit 67c1b64

Browse files
committed
fix initial load
1 parent a485ffa commit 67c1b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/util/indexedDb.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export async function loadNotebookFromStorage(
309309

310310
if (
311311
parsedUrlParams &&
312-
(notebook.cellOrder.length === 0 || !notebook.cells)
312+
(notebook.cells.length === 0)
313313
) {
314314
// If loading from a URL, and the notebook is empty, return null
315315
// did this because there was a glitchy case on my phone

0 commit comments

Comments
 (0)