diff --git a/dapp-oeth/.vscode/launch.json b/dapp-oeth/.vscode/launch.json new file mode 100644 index 0000000000..c3dbb85155 --- /dev/null +++ b/dapp-oeth/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Next.js: debug server-side", + "type": "node-terminal", + "request": "launch", + "command": "yarn dev" + }, + { + "name": "Next.js: debug client-side", + "type": "chrome", + "request": "launch", + "url": "http://localhost:3000" + }, + { + "name": "Next.js: debug full stack", + "type": "node-terminal", + "request": "launch", + "command": "PORT=3001 yarn dev", + "serverReadyAction": { + "pattern": "started server on .+, url: (https?://.+)", + "uriFormat": "%s", + "action": "debugWithChrome" + } + } + ] +} diff --git a/dapp-oeth/pages/history.js b/dapp-oeth/pages/history.js index 0f1df9100b..3f978f9135 100644 --- a/dapp-oeth/pages/history.js +++ b/dapp-oeth/pages/history.js @@ -6,8 +6,6 @@ import Layout from 'components/layout' import Nav from 'components/Nav' import BalanceHeader from 'components/buySell/BalanceHeader' import TransactionHistory from 'components/TransactionHistory' -import GetOUSD from 'components/GetOUSD' -import { assetRootPath } from 'utils/image' import { useOverrideAccount } from '../src/utils/hooks' import ErrorModal from '../src/components/buySell/ErrorModal' @@ -39,38 +37,14 @@ export default function History({ locale, onLocale }) { }} /> )} +