From 94a373bb91fbbfc368268a1ddbd4a5384a3e8df6 Mon Sep 17 00:00:00 2001 From: Anastasia <142572092+LuminaEnvision@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:48:39 +0700 Subject: [PATCH] fix: correct ref callback return types in docs page --- app/docs/page.tsx | 52 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/app/docs/page.tsx b/app/docs/page.tsx index 19b0033..12c0dcc 100644 --- a/app/docs/page.tsx +++ b/app/docs/page.tsx @@ -184,7 +184,9 @@ export default function DocsPage() { {/* Quick Start */}
(sectionRefs.current["quick-start"] = el)} + ref={(el) => { + sectionRefs.current["quick-start"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -234,7 +236,9 @@ npm run dev`} {/* Tech Stack */}
(sectionRefs.current["tech-stack"] = el)} + ref={(el) => { + sectionRefs.current["tech-stack"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -301,7 +305,9 @@ npm run dev`} {/* Architecture Overview */}
(sectionRefs.current["architecture"] = el)} + ref={(el) => { + sectionRefs.current["architecture"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -354,7 +360,9 @@ npm run dev`} {/* Environment Setup */}
(sectionRefs.current["environment"] = el)} + ref={(el) => { + sectionRefs.current["environment"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -436,7 +444,9 @@ npm run dev`} {/* Development Commands */}
(sectionRefs.current["commands"] = el)} + ref={(el) => { + sectionRefs.current["commands"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -511,7 +521,9 @@ npm run dev`} {/* Smart Contracts */}
(sectionRefs.current["contracts"] = el)} + ref={(el) => { + sectionRefs.current["contracts"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -623,7 +635,9 @@ npm run dev`} {/* Project Structure */}
(sectionRefs.current["structure"] = el)} + ref={(el) => { + sectionRefs.current["structure"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -653,7 +667,9 @@ npm run dev`} {/* Testing */}
(sectionRefs.current["testing"] = el)} + ref={(el) => { + sectionRefs.current["testing"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -693,7 +709,9 @@ npm run dev`} {/* Deployment */}
(sectionRefs.current["deployment"] = el)} + ref={(el) => { + sectionRefs.current["deployment"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -728,7 +746,9 @@ npm run dev`} {/* API Routes */}
(sectionRefs.current["api-routes"] = el)} + ref={(el) => { + sectionRefs.current["api-routes"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -776,7 +796,9 @@ npm run dev`} {/* Security Notes */}
(sectionRefs.current["security"] = el)} + ref={(el) => { + sectionRefs.current["security"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -801,7 +823,9 @@ npm run dev`} {/* Troubleshooting */}
(sectionRefs.current["troubleshooting"] = el)} + ref={(el) => { + sectionRefs.current["troubleshooting"] = el; + }} className="mb-16 scroll-mt-24" >

@@ -838,7 +862,9 @@ npm run dev`} {/* Resources & Links */}
(sectionRefs.current["resources"] = el)} + ref={(el) => { + sectionRefs.current["resources"] = el; + }} className="mb-16 scroll-mt-24" >