Skip to content

Commit

Permalink
chore: minimize app size
Browse files Browse the repository at this point in the history
  • Loading branch information
sitarass committed Feb 4, 2024
1 parent 519a44d commit 4ff23bb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 271 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.16",
"@mui/material": "^5.14.16",
"@mui/styled-engine-sc": "^6.0.0-alpha.4",
"@mui/styles": "^5.14.16",
"@testing-library/jest-dom": "^5.17.0",
"cross-env": "^7.0.3",
"electron-is-dev": "^2.0.0",
Expand All @@ -31,7 +29,6 @@
"react-scripts": "5.0.1",
"sass": "^1.69.5",
"sharp": "^0.33.2",
"styled-components": "^6.1.8",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/NavBar/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

import QrCodeIcon from "@mui/icons-material/QrCode";
import IconButton from "@mui/material/IconButton";
import LocalLibraryIcon from "@mui/icons-material/LocalLibrary";
import AbcIcon from "@mui/icons-material/Abc";
import SmartButtonIcon from "@mui/icons-material/SmartButton";
import CompareIcon from "@mui/icons-material/Compare";
import JavascriptIcon from "@mui/icons-material/Javascript";
Expand Down Expand Up @@ -43,7 +43,7 @@ const NavBar = () => {
{({ isActive }) => (
<Tooltip title="Lorem Ipsum Generator" placement="right">
<IconButton aria-label="Lorem Ipsum Generator">
<LocalLibraryIcon className={isIconSelected(isActive)} />
<AbcIcon className={isIconSelected(isActive)} />
</IconButton>
</Tooltip>
)}
Expand Down
7 changes: 2 additions & 5 deletions src/components/Table/QRContentTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,8 @@ const QRContentTable = ({ rows, handleRows }) => {
</TableCell>
)}
<TableCell align="left">
<IconButton aria-label="saveAs">
<SaveAsIcon
aria-label="saveAs"
onClick={handleSaveAs(row)}
/>
<IconButton aria-label="saveAs" onClick={handleSaveAs(row)}>
<SaveAsIcon />
</IconButton>
<IconButton
aria-label="preview"
Expand Down
Loading

0 comments on commit 4ff23bb

Please sign in to comment.