@@ -146,8 +151,14 @@ function PopupButtonContent({ connection, isDarkMode, show, onClick, onClose }:
- Connect with v1
- Support for v1 will be discontinued June 28.
+
+ Connect with {walletConnectV2AsDefault ? t`v1` : t`v2`}
+
+
+ {walletConnectV2AsDefault
+ ? t`Support for v1 will be discontinued June 28.`
+ : t`Under development and unsupported by most wallets`}
+
)
@@ -170,9 +181,11 @@ export default function Option({ connection }: OptionProps) {
const isCurrentOptionPending = isSomeOptionPending && activationState.connection.type === connection.type
const isDarkMode = useIsDarkMode()
+ const walletConnectV2AsDefault = useWalletConnectV2AsDefault()
+
const handleClickConnectViaWCv1 = (e: MouseEvent