notes/index.html
enzotar 9dcfece5bf fix: resolve white screen and black screen on daily notes
- Lazy-load WhiteboardView to prevent module-scope side effect
  (registerBuiltinCommands) from crashing the entire JS module tree
- Fix Rules of Hooks violation in Editor: hooks after early return
  caused React to crash when currentNote transitioned from null
- Fix async race condition in Editor content initialization where
  noteContent arrived after renderToDOM had already run with empty content
- Add error handling to DailyView's getOrCreateDaily call
- Add inline fallback styles to index.html for pre-JS loading state

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 16:51:29 -07:00

13 lines
476 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Graph Notes</title>
</head>
<body style="background:#09090b;color:#fafafa;font-family:sans-serif;">
<div id="root"><p style="padding:2rem;">Loading Graph Notes...</p></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>