diff --git a/package.json b/package.json index 484ae14..e67518a 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "vite", "build": "vite build", "build:dev": "vite build --mode development", + "check": "tsc --noEmit --strict && eslint . --fix", "lint": "eslint .", "preview": "vite preview", "test": "vitest", diff --git a/src/components/ui/author-display.tsx b/src/components/ui/author-display.tsx index c1b37fd..cacc3df 100644 --- a/src/components/ui/author-display.tsx +++ b/src/components/ui/author-display.tsx @@ -38,7 +38,7 @@ export function AuthorDisplay({ setResolvedEns(userStatus?.ensName); } return () => { cancelled = true; }; - // eslint-disable-next-line react-hooks/exhaustive-deps + }, [address, isEthereumAddress, userStatus?.ensName]); // Lazily check Ordinal ownership for Bitcoin addresses if not provided diff --git a/src/lib/identity/services/AuthService.ts b/src/lib/identity/services/AuthService.ts index 54d1c6e..34802e9 100644 --- a/src/lib/identity/services/AuthService.ts +++ b/src/lib/identity/services/AuthService.ts @@ -4,6 +4,7 @@ import { AppKit } from '@reown/appkit'; import { OrdinalAPI } from '../ordinal'; import { CryptoService, DelegationDuration } from './CryptoService'; import { EVerificationStatus, User } from '@/types/forum'; +import { WalletInfo } from '../wallets/ReOwnWalletService'; export interface AuthResult { success: boolean; @@ -30,7 +31,7 @@ export interface AuthServiceInterface { clearStoredUser(): void; // Wallet info - getWalletInfo(): Promise; + getWalletInfo(): Promise; } export class AuthService implements AuthServiceInterface {