Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: crash when opening an empty notebook

thecodrr8e12b3d4d9d9
diff --git a/apps/web/src/components/placeholders/topics-placeholder.js b/apps/web/src/components/placeholders/topics-placeholder.js
index a7c58a363..f68dfbc27 100644
--- a/apps/web/src/components/placeholders/topics-placeholder.js
+++ b/apps/web/src/components/placeholders/topics-placeholder.js
@@ -4,7 +4,7 @@ import Placeholder from "./index";
import * as Icon from "../icons";
import { hashNavigate } from "../../navigation";
-function TopicsPlaceholder({ context: { notebookId } }) {
+function TopicsPlaceholder() {
return (
<Placeholder
image={Notebook}