feat(notebook): pre-select notebook source when notebook_id is in URL

This commit is contained in:
xuhd committed 2026-06-05 13:35:35 +08:00
1 parent e689493723
commit e53c1a0f7b
4 files changed
+30 -5

No files matched your search

@@ -202,8 +202,10 @@ function AIWritingLayout({ hideAdvancedFields }: { hideAdvancedFields: boolean }
export default function AIWritingPage({
hideAdvancedFields = false,
initialNotebookId,
}: {
hideAdvancedFields?: boolean;
initialNotebookId?: number;
} = {}) {
return (
<CanvasThreadProvider>