Skip to content

Commit

Permalink
feat: remove unused libs, remove oeth wrap page
Browse files Browse the repository at this point in the history
  • Loading branch information
toniocodo committed Sep 8, 2023
1 parent 7f814c7 commit 82fcfcf
Show file tree
Hide file tree
Showing 71 changed files with 1 addition and 4,145 deletions.
2 changes: 0 additions & 2 deletions apps/oeth/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Container, Stack } from '@mui/material';
import { HistoryView } from '@origin/oeth/history';
import { ApyHeader } from '@origin/oeth/shared';
import { SwapView } from '@origin/oeth/swap';
import { WrapView } from '@origin/oeth/wrap';
import { Route, Routes } from 'react-router-dom';

import { Topnav } from './components/Topnav';
Expand All @@ -28,7 +27,6 @@ export function App() {
<Stack mt={3}>
<Routes>
<Route index element={<SwapView />} />
<Route path="wrap" element={<WrapView />} />
<Route path="history" element={<HistoryView />} />
<Route path="swap" element={<SwapView />} />
</Routes>
Expand Down
1 change: 0 additions & 1 deletion apps/oeth/src/components/Topnav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export function Topnav(props: BoxProps) {
>
{[
intl.formatMessage({ defaultMessage: 'Swap' }),
intl.formatMessage({ defaultMessage: 'Wrap' }),
intl.formatMessage({ defaultMessage: 'History' }),
].map((tab) => (
<Tab
Expand Down
8 changes: 1 addition & 7 deletions apps/ousd/src/components/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
// placeholder component until we actually start migration
import { DefiOusd } from '@origin/defi/ousd';
import { useIntl } from 'react-intl';

export function OUSDRoot() {
const intl = useIntl();
return (
<>
<h1>{intl.formatMessage({ defaultMessage: 'test OUSD' })}</h1>
<DefiOusd />
</>
);
return <h1>{intl.formatMessage({ defaultMessage: 'test OUSD' })}</h1>;
}
12 changes: 0 additions & 12 deletions libs/defi/oeth/.babelrc

This file was deleted.

18 changes: 0 additions & 18 deletions libs/defi/oeth/.eslintrc.json

This file was deleted.

26 changes: 0 additions & 26 deletions libs/defi/oeth/.storybook/main.ts

This file was deleted.

3 changes: 0 additions & 3 deletions libs/defi/oeth/.storybook/preview.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions libs/defi/oeth/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions libs/defi/oeth/project.json

This file was deleted.

30 changes: 0 additions & 30 deletions libs/defi/oeth/src/components/History/HistoryButton.stories.tsx

This file was deleted.

69 changes: 0 additions & 69 deletions libs/defi/oeth/src/components/History/HistoryButton.tsx

This file was deleted.

83 changes: 0 additions & 83 deletions libs/defi/oeth/src/components/History/HistoryCard.tsx

This file was deleted.

Loading

0 comments on commit 82fcfcf

Please sign in to comment.