diff --git a/apps/desktop-wallet/src/pages/Send.tsx b/apps/desktop-wallet/src/pages/Send.tsx index 4d7dabd..ed9dd65 100644 --- a/apps/desktop-wallet/src/pages/Send.tsx +++ b/apps/desktop-wallet/src/pages/Send.tsx @@ -14,7 +14,6 @@ import { useWalletStore } from '../store/wallet'; */ function parseSynToSompi(amountStr: string): bigint | null { const DECIMALS = 8; - const MULTIPLIER = BigInt(10 ** DECIMALS); // Clean the input const cleaned = amountStr.trim(); diff --git a/apps/desktop-wallet/src/pages/Settings.tsx b/apps/desktop-wallet/src/pages/Settings.tsx index f3bc17b..75744f2 100644 --- a/apps/desktop-wallet/src/pages/Settings.tsx +++ b/apps/desktop-wallet/src/pages/Settings.tsx @@ -5,7 +5,6 @@ import { Shield, Key, AlertTriangle, - Check, RefreshCw, Download, } from 'lucide-react'; diff --git a/apps/desktop-wallet/src/vite-env.d.ts b/apps/desktop-wallet/src/vite-env.d.ts new file mode 100644 index 0000000..9eb71b1 --- /dev/null +++ b/apps/desktop-wallet/src/vite-env.d.ts @@ -0,0 +1,11 @@ +/// + +interface ImportMetaEnv { + readonly PROD: boolean; + readonly DEV: boolean; + readonly MODE: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +}