diff --git a/phd-advisor-frontend/src/App.js b/phd-advisor-frontend/src/App.js index 9d03459c..897f05e5 100644 --- a/phd-advisor-frontend/src/App.js +++ b/phd-advisor-frontend/src/App.js @@ -38,7 +38,10 @@ function App() { setCurrentView('auth'); }; - const navigateToCanvas = () => { + const navigateToCanvas = (canvasView) => { + if (['insights', 'workspace', 'deliverables'].includes(canvasView)) { + localStorage.setItem('canvas-view-v2', canvasView); + } setCurrentView('canvas'); }; @@ -74,7 +77,9 @@ function App() {
{config?.app?.subtitle || 'AI-Powered Guidance'}
+{s.body}
+