test loading

This commit is contained in:
sijinhui
2024-04-26 11:03:13 +08:00
parent fc1768134c
commit 19d7ac5862
3 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
"use client";
import { useSession } from "next-auth/react";
require("../polyfill");
import { useState, useEffect } from "react";
@@ -192,6 +194,7 @@ export function useLoadData() {
}
export function Home() {
// const { status } = useSession({ required: true })
useSwitchTheme();
useLoadData();
useHtmlLang();