diff --git a/src/pages/Wallet/Settings.tsx b/src/pages/Wallet/Settings.tsx index 7b5f783..3202764 100644 --- a/src/pages/Wallet/Settings.tsx +++ b/src/pages/Wallet/Settings.tsx @@ -1,12 +1,12 @@ import { currencies } from "@/contexts/Settings" import useKaspa from "@/hooks/useKaspa" import useSettings from "@/hooks/useSettings" -import { SettingsIcon, NetworkIcon, HammerIcon, DollarSignIcon, SearchIcon, XIcon } from "lucide-react" +import { SettingsIcon, HammerIcon, DollarSignIcon, SearchIcon, XIcon } from "lucide-react" import { useEffect, useState } from "react" import { runtime } from "webextension-polyfill" export default function Settings () { - const { request } = useKaspa() + const { kaspa, request } = useKaspa() const { settings, updateSetting } = useSettings() const [ count, setCount ] = useState() @@ -22,58 +22,90 @@ export default function Settings () { }, [ count ]) return ( -
- - + )} + {typeof count !== 'undefined' && ( +
+ + +
+ )} +

+ Kaspian {runtime.getManifest().version} +

+ +
) } \ No newline at end of file