mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
20 lines
616 B
TypeScript
20 lines
616 B
TypeScript
'use client';
|
|
|
|
import { walletSheetVestingTab } from '@/components/Vesting/WalletSheetVestingTab';
|
|
import { customSettings } from '@/lib/constants';
|
|
import { useVesting } from '@/providers/vesting-provider';
|
|
import WalletUserSheetUI from '@session/wallet/components/WalletUserSheet';
|
|
|
|
export function WalletUserSheet() {
|
|
const { contracts } = useVesting();
|
|
return (
|
|
<WalletUserSheetUI
|
|
customTabs={[walletSheetVestingTab]}
|
|
customSettings={customSettings}
|
|
mainTabConfig={{
|
|
customButtons: contracts.length ? [{ id: 'vesting', label: 'Vesting Contracts' }] : [],
|
|
}}
|
|
/>
|
|
);
|
|
}
|