Skip to content

Commit

Permalink
remove classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Feb 20, 2024
1 parent ea5b12c commit 97d7272
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"license": "MIT",
"dependencies": {
"antd": "^5.14.1",
"classnames": "^2.5.1",
"electron-squirrel-startup": "^1.0.0",
"electron-store": "^8.1.0",
"env-paths": "^3.0.0",
Expand Down
5 changes: 0 additions & 5 deletions src/component/Connection/Nav.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Link } from 'react-router-dom';
import { ReactElement, useContext } from 'react';
import { Button } from 'antd';
import cn from 'classnames';
import { ConnectionContext } from '../../Contexts';

export default function Nav(): ReactElement {
Expand All @@ -20,10 +19,6 @@ export default function Nav(): ReactElement {
>
<Link
key={i}
// className={cn({
// 'nav-link': true,
// active: connection === currentConnectionName,
// })}
onClick={() => {
setCurrentConnectionName(connection);
}}
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8250,7 +8250,6 @@ __metadata:
"@typescript-eslint/eslint-plugin": "npm:^7.0.2"
"@typescript-eslint/parser": "npm:^7.0.2"
antd: "npm:^5.14.1"
classnames: "npm:^2.5.1"
electron: "npm:28.2.3"
electron-devtools-installer: "npm:^3.2.0"
electron-squirrel-startup: "npm:^1.0.0"
Expand Down

0 comments on commit 97d7272

Please sign in to comment.