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 (
- right +
); diff --git a/src/components/nav/Footer.tsx b/src/components/nav/Footer.tsx index c47c61b..f74e48f 100644 --- a/src/components/nav/Footer.tsx +++ b/src/components/nav/Footer.tsx @@ -14,7 +14,7 @@ export function Footer() {
- Abacus +

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() {

- Abacus +
Explorer @@ -57,7 +54,7 @@ export function Header() {
@@ -70,14 +67,14 @@ export function Header() { setIsOpen(false)} + onClick={closeDropdown} > setIsOpen(false)} + onClick={closeDropdown} className={styles.dropdownOption} target="_blank" href="https://docs.useabacus.network" @@ -87,7 +84,7 @@ export function Header() { setIsOpen(false)} + onClick={closeDropdown} className={styles.dropdownOption} target="_blank" href="https://www.useabacus.network" @@ -97,7 +94,7 @@ export function Header() { setIsOpen(false)} + onClick={closeDropdown} className={styles.dropdownOption} href={isMainnet ? allConfigs.testnet2.url : allConfigs.mainnet.url} target="_blank" @@ -116,13 +113,7 @@ export function Header() { function DropdownItemContent({ icon, text }: { icon: any; text: string }) { return ( <> - + {text} ); @@ -136,13 +127,7 @@ function NetworkSelector() { className="flex items-center pb-px hover:opacity-60 transition-all" {...buttonProps} > - Hub +
- checkmark + )} {isMessageFound && status === MessageStatus.Failing && ( @@ -333,13 +333,7 @@ function ValueRow({ function ErrorIcon() { return ( - failure + ); } diff --git a/src/features/search/MessageSearch.tsx b/src/features/search/MessageSearch.tsx index ab82d88..c24715b 100644 --- a/src/features/search/MessageSearch.tsx +++ b/src/features/search/MessageSearch.tsx @@ -87,7 +87,7 @@ export function MessageSearch() {
{fetching && } {!fetching && !searchInput && ( - Search + )} {!fetching && searchInput && (
Filter