mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
18 lines
551 B
TypeScript
18 lines
551 B
TypeScript
'use client';
|
|
|
|
import { WalletButton, type WalletButtonProps } from '@session/wallet/components/WalletButton';
|
|
import { useTranslations } from 'next-intl';
|
|
|
|
export default function WalletButtonWithLocales(props: Partial<WalletButtonProps>) {
|
|
const dictWalletButton = useTranslations('wallet.modalButton');
|
|
|
|
return (
|
|
<WalletButton
|
|
disconnectedLabel={dictWalletButton('connect')}
|
|
connectedAriaLabel={dictWalletButton('ariaConnected')}
|
|
disconnectedAriaLabel={dictWalletButton('ariaDisconnected')}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|