Skip to content

Commit 4a2a332

Browse files
committed
Remove all links to legacy canvas
1 parent 811603b commit 4a2a332

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

frontend/src/components/Layout.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import Login from '../pages/Login';
2222
import Register from '../pages/Register';
2323
import Dashboard from '../pages/Dashboard';
2424
import Room from '../pages/Room';
25-
import App from './App';
2625
import Profile from '../pages/Profile';
2726
import RoomSettings from '../pages/RoomSettings';
2827
import theme from '../config/theme';
@@ -55,8 +54,7 @@ function AppBreadcrumbs({ auth }) {
5554
const breadcrumbNameMap = {
5655
'dashboard': 'Dashboard',
5756
'rooms': 'Rooms',
58-
'profile': 'Profile',
59-
'legacy': 'Legacy Canvas'
57+
'profile': 'Profile'
6058
};
6159

6260
return (
@@ -391,7 +389,6 @@ export default function Layout() {
391389
<Box className="page-scroll-container" sx={{ flex: 1, overflow: 'auto', pb: 'calc(var(--rescanvas-footer-height) + 1000px)' }}>
392390
<Routes>
393391
<Route path="/" element={<HomeRedirect auth={auth} />} />
394-
<Route path="/legacy" element={<App auth={auth} hideHeader hideFooter />} />
395392
<Route path="/blog" element={<Blog />} />
396393
<Route path="/metrics" element={<MetricsDashboard />} />
397394
<Route path="/analytics" element={<AnalyticsPage />} />

frontend/src/pages/Dashboard.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ export default function Dashboard({ auth }) {
384384
<Button variant="contained" size="small" onClick={() => { setNewType('private'); setOpenCreate(true); }}>New Private</Button>
385385
<Button variant="contained" size="small" onClick={() => { setNewType('secure'); setOpenCreate(true); }}>New Secure</Button>
386386
<Button variant="outlined" size="small" onClick={() => setShowTemplates(true)}>Templates</Button>
387-
<Button variant="outlined" size="small" component={RouterLinkWrapper} to="/legacy">Legacy</Button>
388387
</Stack>
389388

390389
{showTemplates && (

0 commit comments

Comments
 (0)