Skip to content

Commit

Permalink
Will delete uri text when submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
Freshenext committed Sep 20, 2023
1 parent cd36bce commit a18832a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/screens/walletConnect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ export const WalletConnectScreen = ({ route }: Props) => {
setValue('wcUri', clipboardText)
}

const onUriSubmitted = () => onCreateNewSession(wcUri)
const onUriSubmitted = () => {
setValue('wcUri', '')
onCreateNewSession(wcUri)
}

const handleDisconnectSession = (mergedWc: WC2Session) => async () => {
await onDisconnectSession(mergedWc.wc)
Expand Down

0 comments on commit a18832a

Please sign in to comment.