mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-18 05:51:55 +08:00
refactor: Remove metadata export from sign-in page
This commit is contained in:
parent
04d9ac38dc
commit
03107936ad
6
src/app/(auth)/sign-in/metadata.ts
Normal file
6
src/app/(auth)/sign-in/metadata.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Login",
|
||||
description: "Login to your account",
|
||||
};
|
@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect } from "react";
|
||||
import { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { ChevronLeft, MessageCircleCode } from "lucide-react";
|
||||
|
||||
@ -13,11 +12,6 @@ interface Props {
|
||||
searchParams: { state?: string };
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Login",
|
||||
description: "Login to your account",
|
||||
};
|
||||
|
||||
export default function LoginPage({ searchParams }: Props) {
|
||||
useEffect(() => {
|
||||
// 如果有 state 参数,保存到 cookie
|
||||
|
Loading…
x
Reference in New Issue
Block a user