Skip to content

Commit e466585

Browse files
committed
fix: hydration error of div cannot be a descendant of p
1 parent c510acc commit e466585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default function Home() {
6666
<div className="my-8 w-full">
6767
<Marquee items={marqueeItems} />
6868
</div>
69-
<p className="text-center text-sm text-text mb-4">
69+
<div className="text-center text-sm text-text mb-4">
7070
<StateDisplay />
7171
<br />
7272
[AD] 正在进行中的项目:
@@ -82,7 +82,7 @@ export default function Home() {
8282
GitHub
8383
</a>{" "}
8484
via MIT License.
85-
</p>
85+
</div>
8686
</main>
8787
);
8888
}

0 commit comments

Comments
 (0)