fix: whiteboard -> edgeless
This commit is contained in:
1 parent
b682e55596
commit
02613e08b8
20 files changed
+76
-90
No files matched your search
@@ -4,10 +4,10 @@ import { useUserAndSpaces } from '@toeverything/datasource/state';
|
||||
|
||||
import { WorkspaceRootContainer } from './Container';
|
||||
import { Page } from './docs';
|
||||
import { Edgeless } from './Edgeless';
|
||||
import { WorkspaceHome } from './Home';
|
||||
import Labels from './labels';
|
||||
import Pages from './pages';
|
||||
import { Whiteboard } from './Whiteboard';
|
||||
|
||||
export function WorkspaceContainer() {
|
||||
const { workspace_id } = useParams();
|
||||
@@ -26,8 +26,8 @@ export function WorkspaceContainer() {
|
||||
<Route path="/labels" element={<Labels />} />
|
||||
<Route path="/pages" element={<Pages />} />
|
||||
<Route
|
||||
path="/:page_id/whiteboard"
|
||||
element={<Whiteboard workspace={workspace_id} />}
|
||||
path="/:page_id/edgeless"
|
||||
element={<Edgeless workspace={workspace_id} />}
|
||||
/>
|
||||
<Route
|
||||
path="/:page_id"
|
||||
|
||||
Reference in new issue
Block a user