From 02c267db5ca415cb56935e8711d031ca9c09e280 Mon Sep 17 00:00:00 2001 From: Cody Bender Date: Fri, 9 Aug 2024 13:19:39 -0400 Subject: [PATCH] style: home screen first pass --- src/components/ShowPKDialog.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/ShowPKDialog.tsx b/src/components/ShowPKDialog.tsx index 46ec396..859c963 100644 --- a/src/components/ShowPKDialog.tsx +++ b/src/components/ShowPKDialog.tsx @@ -10,7 +10,7 @@ import styles from "../styles/stylesheet"; import { getPathKey } from "../utils/misc"; import { useNetworks } from "../context/NetworksContext"; import { useAccounts } from "../context/AccountsContext"; -import { Text, useTheme } from "react-native-paper"; +import { useTheme } from "react-native-paper"; const ShowPKDialog = () => { const { currentIndex } = useAccounts(); @@ -19,8 +19,6 @@ const ShowPKDialog = () => { const [privateKey, setPrivateKey] = useState(); const [showPKDialog, setShowPKDialog] = useState(false); - const theme = useTheme(); - const handleShowPrivateKey = async () => { const pathKey = await getPathKey( `${selectedNetwork!.namespace}:${selectedNetwork!.chainId}`,