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