Skip to content

Commit b82dc65

Browse files
UwicyezaGniyobertin
authored andcommitted
(#606) Harmonize action button theme across tables in TTL's portal
1 parent 4321d94 commit b82dc65

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/pages/ttlTraineeDashboard.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ import { useTraineesContext } from '../hook/useTraineesData';
2626
import { XIcon } from '@heroicons/react/solid';
2727
import { FaTimes } from 'react-icons/fa';
2828
import { log } from 'console';
29+
import { FaEye } from 'react-icons/fa';
30+
2931
const organizationToken = localStorage.getItem('orgToken');
3032
``;
3133
/* istanbul ignore next */
@@ -144,16 +146,15 @@ const TtlTraineeDashboard = () => {
144146
accessor: '',
145147
Cell: ({ row }: any) =>
146148
hasData && ( // Only render the button if there is data
147-
<Button
148-
variant="primary"
149-
size="sm"
149+
<button
150150
onClick={() => {
151151
handleClickOpen(row.original?.email);
152152
}}
153-
style="px-4 py-0 text-sm"
153+
className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-600"
154+
aria-label="View Details"
154155
>
155-
{t('View more')}
156-
</Button>
156+
<FaEye className="text-2xl text-[#9C6ADE]" />
157+
</button>
157158
),
158159
},
159160
];

0 commit comments

Comments
 (0)