Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultJRD committed Feb 21, 2024
1 parent 013282e commit d660e31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ import { RootDispatch } from 'redux/store';
import { useRematchDispatch } from 'redux/hooks';

import Assets from 'assets';
import { LUM_WALLET_GITHUB, LUM_DISCORD /* LUM_MAIL, LUM_TELEGRAM */, NODES } from 'constant';
import { WalletClient, saveCustomNode, getCustomNodes } from 'utils';
import { LUM_WALLET_GITHUB, LUM_DISCORD /* LUM_MAIL, LUM_TELEGRAM, NODES */ } from 'constant';
import { /* WalletClient, */ saveCustomNode /*, getCustomNodes */ } from 'utils';

import { DropdownButton, Button, Modal, Input } from '../';
import { /* DropdownButton, */ Button, Modal, Input } from '../';
import './Footer.scss';

const Footer = (): JSX.Element => {
const [customNode, setCustomNode] = useState('');
const setCurrentNode = useRematchDispatch((dispatch: RootDispatch) => dispatch.wallet.updateNode);
const { t } = useTranslation();

const userNodes = getCustomNodes();
// const userNodes = getCustomNodes();

const onAddNode = () => {
saveCustomNode(customNode);
Expand Down

0 comments on commit d660e31

Please sign in to comment.