chore: heygermany customer project
This commit is contained in:
11
apps/website/views/localized/app/backoffice/page.tsx
Normal file
11
apps/website/views/localized/app/backoffice/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { useNavigate, useParams } from '@tanstack/react-router';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
export default function BackOfficeDashboardPage() {
|
||||
const navigate = useNavigate()
|
||||
const { lang } = useParams({ strict: false }) as { lang?: string }
|
||||
useEffect(() => {
|
||||
navigate({ to: `/${lang || 'en'}/backoffice/candidates`, replace: true })
|
||||
}, [lang, navigate])
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user