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<string>();
   const [showPKDialog, setShowPKDialog] = useState<boolean>(false);
 
-  const theme = useTheme();
-
   const handleShowPrivateKey = async () => {
     const pathKey = await getPathKey(
       `${selectedNetwork!.namespace}:${selectedNetwork!.chainId}`,