perf: publish change and panel to App
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
import { Navigate, Route, Routes } from 'react-router-dom';
|
||||
import { List } from './edit/List';
|
||||
import { Main } from './layouts';
|
||||
import { UserList } from './edit/UserList';
|
||||
|
||||
export const App = () => {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<Main />}>
|
||||
<Route path='/' element={<Navigate to='/org/edit/list' />}></Route>
|
||||
<Route path='edit/list' element={<List />} />
|
||||
<Route path='edit/user/:id' element={<UserList />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
Reference in New Issue
Block a user