metadata reset

This commit is contained in:
echo committed 2025-03-24 02:59:36 +01:00
1 parent 9857acd4c1
commit 30255ce3c2
3 files changed
+5 -8

No files matched your search

+1 -1
View File
@@ -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');
}
+2 -5
View File
@@ -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"],
+2 -2
View File
@@ -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({