Skip to content

Commit

Permalink
Packages upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed Jul 9, 2024
1 parent 0a3244a commit 2289690
Show file tree
Hide file tree
Showing 3 changed files with 466 additions and 443 deletions.
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@
"@chakra-ui/system": "^2.6.2",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@stoqey/ib": "stoqey/ib#d7d2400156fe145b75aa9be86c1c6fb827b0b90e",
"@tanstack/react-table": "^8.17.3",
"chakra-react-select": "^4.8.0",
"@stoqey/ib": "stoqey/ib#7b0d422920ff88f56bb27b4ca3f8bd9b1ddb6dc5",
"@tanstack/react-table": "^8.19.2",
"chakra-react-select": "^4.9.1",
"chart.js": "^4.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"fast-xml-parser": "^4.4.0",
"formik": "^2.4.6",
"framer-motion": "^11.2.10",
"framer-motion": "^11.2.13",
"json-stringify-safe": "^5.0.1",
"react": "^18.3.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-router-dom": "^6.24.1",
"reflect-metadata": "^0.2.2",
"sequelize": "^6.37.3",
"sequelize-typescript": "^2.1.6",
Expand All @@ -66,29 +66,29 @@
"@babel/core": "^7.24.7",
"@chakra-ui/storybook-addon": "^5.1.0",
"@eslint/compat": "^1.1.0",
"@storybook/addon-actions": "^8.1.8",
"@storybook/addon-essentials": "^8.1.8",
"@storybook/addon-links": "^8.1.8",
"@storybook/cli": "^8.1.8",
"@storybook/components": "^8.1.8",
"@storybook/react": "^8.1.8",
"@storybook/react-vite": "^8.1.8",
"@storybook/addon-actions": "^8.1.11",
"@storybook/addon-essentials": "^8.1.11",
"@storybook/addon-links": "^8.1.11",
"@storybook/cli": "^8.1.11",
"@storybook/components": "^8.1.11",
"@storybook/react": "^8.1.11",
"@storybook/react-vite": "^8.1.11",
"@storybook/testing-library": "^0.2.2",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/json-stringify-safe": "^5.0.3",
"@types/node": "^20.14.2",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/validator": "^13.11.10",
"@types/validator": "^13.12.0",
"@vitejs/plugin-react": "^4.3.1",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.2",
"eslint": "^9.4.0",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-storybook": "^0.8.0",
"http-proxy-middleware": "^3.0.0",
Expand All @@ -97,14 +97,14 @@
"patch-package": "^8.0.0",
"prettier": "^3.3.2",
"rxjs": "^7.8.1",
"storybook": "^8.1.8",
"storybook": "^8.1.11",
"stylelint": "^16.6.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard": "^36.0.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.0",
"vite": "^5.3.0",
"webpack": "^5.92.0"
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0",
"vite": "^5.3.3",
"webpack": "^5.92.1"
},
"engines": {
"node": "^20.12.2"
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/Portfolio/Balance/BalancesIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const BalancesIndex: FunctionComponent<BalancesIndexProps> = ({ ..._rest }): Rea
.map((item) => (
<Tr key={item.id}>
<Td>{item.currency}</Td>
<Td>
<Td isNumeric={true}>
<Number value={item.quantity} decimals={2} />
</Td>
<Td>
Expand All @@ -59,7 +59,7 @@ const BalancesIndex: FunctionComponent<BalancesIndexProps> = ({ ..._rest }): Rea
<Tfoot>
<Tr>
<Td fontWeight="bold">Total</Td>
<Td>
<Td isNumeric={true}>
<Number
value={theBalances.reduce((p, item) => (p += (item.quantity || 0) * item.baseRate), 0)}
fontWeight="bold"
Expand Down
Loading

0 comments on commit 2289690

Please sign in to comment.