mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-08 04:24:59 -05:00
fix: put server list in StrictMode
This commit is contained in:
parent
c70332c144
commit
7766ff4d32
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
import { ServerList } from "@/components/feat/server-list/server-list";
|
import { ServerList } from "@/components/feat/server-list/server-list";
|
||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Suspense } from "react";
|
import React, { Suspense } from "react";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
applicationName: "MHSF",
|
applicationName: "MHSF",
|
||||||
@ -42,7 +42,9 @@ export default function ServerListPage() {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<ServerList />
|
<React.StrictMode>
|
||||||
|
<ServerList />
|
||||||
|
</React.StrictMode>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user