Remove unnecessary dependancies

This commit is contained in:
Shreerang Kale 2025-04-25 13:17:52 +05:30
parent 9f5f3cb5ef
commit 08b3a84c24
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export const useWebViewHandler = () => {
const path = `/sign/${selectedNetwork.namespace}/${selectedNetwork.chainId}/${currentAccount.address}/${encodeURIComponent(message)}`;
const pathRegex = /^\/sign\/(eip155|cosmos)\/(.+)\/(.+)\/(.+)$/;
const match = path.match(pathRegex);
if (!match) {
window.Android?.onSignatureError?.('Invalid signing path');
return;

View File

@ -151,7 +151,7 @@ const SignMessageEmbed = ({ route }: SignRequestProps) => {
},
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [navigation, route.name]);
}, [navigation]);
return (
<>