Skip to content

Commit f3eae1b

Browse files
authored
patch(signup): wrong router import in registration components (#542)
1 parent 8cc2b28 commit f3eae1b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

view/app/register/components/admin-registerd-error.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
import { Button } from '@/components/ui/button';
44
import { Card, CardContent } from '@/components/ui/card';
5-
import { Skeleton } from '@/components/ui/skeleton';
65
import { useTranslation } from '@/hooks/use-translation';
76
import { cn } from '@/lib/utils';
8-
import { useRouter } from 'next/router';
7+
import { useRouter } from 'next/navigation';
98

109
export const AdminRegisteredError = () => {
1110
const { t } = useTranslation();

view/app/register/components/admin-registered.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Button } from '@/components/ui/button';
44
import { Card, CardContent, CardFooter } from '@/components/ui/card';
55
import { useTranslation } from '@/hooks/use-translation';
66
import { LogIn } from 'lucide-react';
7-
import { useRouter } from 'next/router';
7+
import { useRouter } from 'next/navigation';
88

99
export const AdminRegistered = () => {
1010
const { t } = useTranslation();

0 commit comments

Comments
 (0)