Skip to content

Commit

Permalink
fix: merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodes05 committed Sep 12, 2023
1 parent 48984ad commit e08dc26
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions apps/oeth/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
import { Container, Stack } from '@mui/material';
import { HistoryView } from '@origin/oeth/history';
import { SwapView } from '@origin/oeth/swap';
import { Route, Routes } from 'react-router-dom';
import { Container, CssBaseline, Stack } from '@mui/material';
import { Outlet } from 'react-router-dom';

import { Topnav } from './components/Topnav';

export function App() {
export const App = () => {
return (
<Stack>
<Topnav />
<Container
sx={{
mt: {
xs: 3,
md: 5,
paddingInline: {
xs: 2,
md: 0,
<>
<CssBaseline />
<Stack>
<Topnav />
<Container
sx={{
mt: {
xs: 3,
md: 5,
paddingInline: {
xs: 2,
md: 0,
},
},
},
}}
maxWidth="sm"
>
<Routes>
<Route index element={<SwapView />} />
<Route path="history" element={<HistoryView />} />
<Route path="swap" element={<SwapView />} />
</Routes>
</Container>
</Stack>
}}
maxWidth="sm"
>
<Stack mt={3}>
<Outlet />
</Stack>
</Container>
</Stack>
</>
);
}
};

0 comments on commit e08dc26

Please sign in to comment.