metadata reset
This commit is contained in:
parent
9857acd4c1
commit
30255ce3c2
@ -24,7 +24,7 @@ export default function LoginPage() {
|
||||
const onSubmit = async (data: any) => {
|
||||
try {
|
||||
await login(data);
|
||||
router.push('/dashboard');
|
||||
router.replace('/dashboard');
|
||||
} catch (err) {
|
||||
setError('Invalid email or password');
|
||||
}
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
|
||||
@ -5,8 +5,8 @@ import './globals.css';
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Next.js App with Auth',
|
||||
description: 'A Next.js app with authentication',
|
||||
title: '',
|
||||
description: '',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user