minor fixes

This commit is contained in:
Ren Amamiya
2023-04-24 15:29:40 +07:00
parent cdbf70591e
commit 3e31e7d4dc
12 changed files with 34 additions and 26 deletions

View File

@@ -44,7 +44,7 @@ export default function FormChat({ receiverPubkey }: { receiverPubkey: string })
resetValue();
})
.catch(console.error);
}, [encryptMessage, receiverPubkey, resetValue, pool]);
}, [activeAccount.privkey, activeAccount.pubkey, receiverPubkey, pool, resetValue, encryptMessage]);
const handleEnterPress = (e) => {
if (e.key === 'Enter' && !e.shiftKey) {