Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove unused libs, remove oeth wrap page #29

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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