Skip to content

Commit

Permalink
Remove unused emptyListPlaceholder
Browse files Browse the repository at this point in the history
  • Loading branch information
nop33 committed Aug 5, 2024
1 parent 2d377be commit a1664ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion apps/desktop-wallet/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@
"The group of the selected address ({{ addressGroup }}) does not match the group required by WalletConnect ({{ walletConnectGroup }})": "The group of the selected address ({{ addressGroup }}) does not match the group required by WalletConnect ({{ walletConnectGroup }})",
"The wallet is offline.": "The wallet is offline.",
"Theme": "Theme",
"There are no addresses in the required group: {{ group }}": "There are no addresses in the required group: {{ group }}",
"There are no addresses with available balance. Please, send some funds to one of your addresses, and try again.": "There are no addresses with available balance. Please, send some funds to one of your addresses, and try again.",
"There are no available addresses.": "There are no available addresses.",
"This address is not valid": "This address is not valid",
Expand Down
4 changes: 1 addition & 3 deletions apps/desktop-wallet/src/components/Inputs/AddressSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ interface AddressSelectProps {
simpleMode?: boolean
noMargin?: boolean
className?: string
emptyListPlaceholder?: string
shouldDisplayAddressSelectModal?: boolean
}

Expand All @@ -58,8 +57,7 @@ function AddressSelect({
onAddressChange,
hideAddressesWithoutAssets,
noMargin,
simpleMode = false,
emptyListPlaceholder
simpleMode = false
}: AddressSelectProps) {
const moveFocusOnPreviousModal = useMoveFocusOnPreviousModal()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ const WalletConnectSessionProposalModal = ({
defaultAddress={signerAddress}
onAddressChange={setSignerAddress}
id="from-address"
emptyListPlaceholder={t('There are no addresses in the required group: {{ group }}', { group })}
/>
<ModalFooterButtons>
<ModalFooterButton role="secondary" onClick={rejectProposal}>
Expand Down

0 comments on commit a1664ed

Please sign in to comment.