Skip to content

Commit

Permalink
Bumped dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ystxn committed Nov 10, 2024
1 parent 72891a6 commit 3f954e5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 30 deletions.
Binary file modified bun.lockb
Binary file not shown.
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,37 @@
"build": "vite build"
},
"dependencies": {
"@fontsource/roboto": "^5.0.12",
"@mui/icons-material": "^5.15.15",
"@mui/lab": "5.0.0-alpha.170",
"@mui/material": "^5.15.15",
"@mui/styled-engine": "npm:@mui/styled-engine-sc@6.0.0-alpha.18",
"@mui/styled-engine-sc": "6.0.0-alpha.18",
"@mui/system": "^5.15.15",
"@mui/x-charts": "7.2.0",
"@mui/x-data-grid": "^7.2.0",
"@mui/x-date-pickers": "^7.2.0",
"@fontsource/roboto": "^5.1.0",
"@mui/icons-material": "^6.1.6",
"@mui/lab": "6.0.0-beta.14",
"@mui/material": "^6.1.6",
"@mui/styled-engine": "npm:@mui/styled-engine-sc@6.1.6",
"@mui/styled-engine-sc": "6.1.6",
"@mui/system": "^6.1.6",
"@mui/x-charts": "7.22.2",
"@mui/x-data-grid": "^7.22.2",
"@mui/x-date-pickers": "^7.22.2",
"cbor-js": "^0.1.0",
"dayjs": "^1.11.10",
"dayjs": "^1.11.13",
"randomcolor": "^0.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-is": "^18.2.0",
"react-router-dom": "^6.22.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.3.5",
"react-is": "^18.3.1",
"react-router-dom": "^6.28.0",
"recoil": "^0.7.7",
"styled-components": "^6.1.8",
"workbox-build": "^7.0.0",
"workbox-window": "^7.0.0"
"styled-components": "^6.1.13",
"workbox-build": "^7.3.0",
"workbox-window": "^7.3.0"
},
"resolutions": {
"@mui/styled-engine": "npm:@mui/styled-engine-sc@6.0.0-alpha.18"
"@mui/styled-engine": "npm:@mui/styled-engine-sc@6.1.6"
},
"devDependencies": {
"@types/react": "^18.2.78",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.2.8",
"vite-plugin-pwa": "^0.19.8"
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.20.5"
}
}
9 changes: 4 additions & 5 deletions src/dashboard/summary.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ const Summary = ({ setRoute }) => {

const getValue = (column, row, rowIndex) => {
const props = {
key: column.field,
onClick: () => navigate(`/tx/${row.id}`),
};
let value = undefined;
Expand All @@ -156,7 +155,7 @@ const Summary = ({ setRoute }) => {
default: value = row[column.field];
}
return !value ? <Fragment key={column.field} /> : (
<td {...props}>
<td key={column.field} {...props}>
{value}
</td>
);
Expand All @@ -173,7 +172,7 @@ const Summary = ({ setRoute }) => {

const SummaryGrid = ({ label, data }) => data.length > 0 && (
<Wrapper>
<SubTitle mb={5}>{label}</SubTitle>
<SubTitle>{label}</SubTitle>
<Table>
<thead>
<tr>
Expand All @@ -191,7 +190,7 @@ const Summary = ({ setRoute }) => {
</tbody>
<tfoot>
<tr>
<td colSpan="2">Sub-Total</td>
<td colSpan={2}>Sub-Total</td>
<td>{ getSubtotal(data) }</td>
</tr>
</tfoot>
Expand All @@ -201,7 +200,7 @@ const Summary = ({ setRoute }) => {

const CpfSummaryGrid = () => {
const cpfAccount = getAccounts('Retirement');
const [ cpfAccounts, setCpfAccounts ] = useState();
const [ cpfAccounts, setCpfAccounts ] = useState(null);

useEffect(() => {
if (cpfAccount.length === 0) {
Expand Down

0 comments on commit 3f954e5

Please sign in to comment.