Skip to content

Commit

Permalink
Merge pull request #338 from reservoirprotocol/pedro/relay-5857-leave…
Browse files Browse the repository at this point in the history
…-address-modal-input-empty

Leave address modal input empty
  • Loading branch information
pedromcunha authored Oct 29, 2024
2 parents 7f8066a + 73525f1 commit b0e9a62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/warm-chicken-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@reservoir0x/relay-kit-ui': patch
---

Remove logic to prefill address with connected address in custom address modal
2 changes: 1 addition & 1 deletion packages/ui/src/components/widgets/WidgetContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const WidgetContainer: FC<WidgetContainerProps> = ({
) : null}
<CustomAddressModal
open={addressModalOpen}
toAddress={customToAddress ?? address}
toAddress={customToAddress}
toChain={toChain}
isConnected={wallet !== undefined || isConnected ? true : false}
linkedWallets={linkedWallets ?? []}
Expand Down

0 comments on commit b0e9a62

Please sign in to comment.