Build issues resolution

This commit is contained in:
Stephanos A
2026-06-02 22:35:07 +03:00
parent aa41cc54a3
commit 4a71708d96
20 changed files with 125 additions and 51 deletions

View File

@@ -53,13 +53,17 @@ export default function AgentsPage() {
const actions = [
{
label: 'View Shifts',
onClick: (agent: any) => window.location.href = `/agents/${agent.id}/shifts`,
onClick: (agent: any) => {
window.location.href = `/agents/${agent.id}/shifts`;
},
variant: 'secondary' as const,
icon: Clock,
},
{
label: 'View Commissions',
onClick: (agent: any) => window.location.href = `/agents/${agent.id}/commissions`,
onClick: (agent: any) => {
window.location.href = `/agents/${agent.id}/commissions`;
},
variant: 'secondary' as const,
icon: DollarSign,
},