mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 17:35:00 -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 type { Metadata } from "next";
|
||||
import { Suspense } from "react";
|
||||
import React, { Suspense } from "react";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
applicationName: "MHSF",
|
||||
@ -42,7 +42,9 @@ export default function ServerListPage() {
|
||||
return (
|
||||
<div>
|
||||
<Suspense>
|
||||
<ServerList />
|
||||
<React.StrictMode>
|
||||
<ServerList />
|
||||
</React.StrictMode>
|
||||
</Suspense>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user