diff --git a/front/src/components/ScheduleTable.tsx b/front/src/components/ScheduleTable.tsx index afaedab..95a375a 100644 --- a/front/src/components/ScheduleTable.tsx +++ b/front/src/components/ScheduleTable.tsx @@ -6,15 +6,17 @@ import CheckBox from './CheckBox'; import useSchedule from '@/services/useSchedule'; import { MasToken, supportedTokens } from '../const/assets'; import ScheduleHistory from '@/components/ScheduleHistory'; +import { getTokenInfo } from '@/utils/assets'; interface ScheduleTableProps { schedules: Schedule[]; } -const CopyableAddress: React.FC<{ address: string; label: string }> = ({ - address, - label, -}) => ( +const CopyableAddress: React.FC<{ + address: string; + label: string; + value: string; +}> = ({ value, address, label }) => ( = ({ toast.success(`${label} copied to clipboard`); }} > - {truncateAddress(address)} + {value} ); @@ -47,7 +49,7 @@ const TableHeader: React.FC = () => ( ].map((header, index) => (