import {  Route, Routes } from 'react-router-dom';
import { Main } from './layouts';
import { List } from './edit/List';
import { AppVersionList } from './edit/AppVersionList';
import { Redirect } from '@/modules/Redirect';
export const App = () => {
  return (
    <Routes>
      <Route element={<Main />}>
        <Route path='/' element={<Redirect to='/app/edit/list' />}></Route>
        <Route path='edit/list' element={<List />} />
        <Route path='/:appKey/version/list' element={<AppVersionList />} />
      </Route>
    </Routes>
  );
};
