diff --git a/assets/client/components/account/AccountBalance.tsx b/assets/client/components/account/AccountBalance.tsx index a3ba49d..ea64f9a 100644 --- a/assets/client/components/account/AccountBalance.tsx +++ b/assets/client/components/account/AccountBalance.tsx @@ -13,6 +13,7 @@ import { getFormattedNextPayday, } from '@/client/utils/date'; import { Locale } from '@/client/interfaces/Locale'; +import { pathToRoute } from '@/client/utils/pathToRoute'; export default function AccountBalance() { const { t, i18n } = useTranslation(); @@ -54,7 +55,7 @@ export default function AccountBalance() { return (
{isLoading ? ( diff --git a/assets/client/components/account/AccountDashboard.tsx b/assets/client/components/account/AccountDashboard.tsx index a62dc4e..c86dde8 100644 --- a/assets/client/components/account/AccountDashboard.tsx +++ b/assets/client/components/account/AccountDashboard.tsx @@ -37,7 +37,10 @@ export default function AccountDashboard() { ]; return ( - +
{sections.map((section, index) => ( diff --git a/src/Factory/UserFactory.php b/src/Factory/UserFactory.php index 4ce81d4..fbc23a1 100644 --- a/src/Factory/UserFactory.php +++ b/src/Factory/UserFactory.php @@ -67,5 +67,4 @@ protected function getDefaults(): array 'roles' => [UserRole::USER], ]; } - }