diff --git a/.eslintrc b/.eslintrc index 39691c8..8d05f63 100644 --- a/.eslintrc +++ b/.eslintrc @@ -29,6 +29,7 @@ "@typescript-eslint/no-explicit-any": ["off"], "@typescript-eslint/no-floating-promises": ["error"], "@typescript-eslint/no-non-null-assertion": ["off"], - "@typescript-eslint/no-require-imports": ["warn"] + "@typescript-eslint/no-require-imports": ["warn"], + "jsx-a11y/alt-text": ["off"] } } diff --git a/src/components/icons/ChainToChain.tsx b/src/components/icons/ChainToChain.tsx index 53e0c84..80074fa 100644 --- a/src/components/icons/ChainToChain.tsx +++ b/src/components/icons/ChainToChain.tsx @@ -17,7 +17,7 @@ function _ChainToChain({ return (
diff --git a/src/components/nav/Header.tsx b/src/components/nav/Header.tsx
index aab2e91..2d257bf 100644
--- a/src/components/nav/Header.tsx
+++ b/src/components/nav/Header.tsx
@@ -12,6 +12,9 @@ import Logo from '../../images/logos/abacus-with-name.svg';
export function Header() {
const { buttonProps, itemProps, isOpen, setIsOpen } = useDropdownMenu(4);
+ const closeDropdown = () => {
+ setIsOpen(false);
+ };
const isMainnet = config.environment === Environment.Mainnet;
return (
@@ -20,13 +23,7 @@ export function Header() {