From 40633e99d17dd0217d016e808bdae33ad82c33b2 Mon Sep 17 00:00:00 2001 From: Hrik Bhowal Date: Thu, 25 May 2023 13:32:54 -0700 Subject: [PATCH 1/5] bugs --- dapp-oeth/.vscode/launch.json | 28 ++++ dapp-oeth/pages/history.js | 2 +- .../src/components/TransactionHistory.js | 147 +++++++++--------- dapp-oeth/src/utils/math.js | 7 +- 4 files changed, 110 insertions(+), 74 deletions(-) create mode 100644 dapp-oeth/.vscode/launch.json 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..7c148194d8 100644 --- a/dapp-oeth/pages/history.js +++ b/dapp-oeth/pages/history.js @@ -39,8 +39,8 @@ export default function History({ locale, onLocale }) { }} /> )} +