refactor(web): remove typescript
This commit is contained in:
13
packages/web/src/pages/Editor/routes.jsx
Normal file
13
packages/web/src/pages/Editor/routes.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as React from 'react';
|
||||
import { Routes, Route } from 'react-router-dom';
|
||||
import CreateFlowPage from './create';
|
||||
import EditorPage from './index';
|
||||
export default function EditorRoutes() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="/create" element={<CreateFlowPage />} />
|
||||
|
||||
<Route path="/:flowId" element={<EditorPage />} />
|
||||
</Routes>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user