diff --git a/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx b/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx
index b998c780..59a8fe5b 100644
--- a/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx
+++ b/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx
@@ -11,9 +11,15 @@ import {
Github,
} from "lucide-react";
import Link from "next/link";
-import { useState, useEffect, useRef } from "react";
import { usePathname } from "next/navigation";
import { MOBILE_MAX_WIDTH } from "../../../legacy-client/src/constants";
+import {
+ // @ts-expect-error - unstable_ViewTransition is not yet in @types/react
+ unstable_ViewTransition as ViewTransition,
+ useState,
+ useEffect,
+ useRef,
+} from "react";
export default function BottomMenuBar() {
const [isHamburgerOpen, setIsHamburgerOpen] = useState(false);
@@ -128,6 +134,12 @@ export default function BottomMenuBar() {
alignItems: "center",
}}
>
+ }
+ label="Grid"
+ isActive={pathname === "/scroll/grid"}
+ />
}
@@ -136,12 +148,7 @@ export default function BottomMenuBar() {
pathname === "/scroll" || pathname.startsWith("/scroll/skin")
}
/>
- }
- label="Grid"
- isActive={pathname === "/scroll/grid"}
- />
+
}
@@ -210,16 +217,18 @@ function MenuButton({
<>
{/* Active indicator line */}
{isActive && (
-
+
+
+
)}
- {label}
-
+ >
>
);
@@ -258,6 +265,7 @@ function MenuButton({
return (
{children}
;
+ return {children}
;
}
diff --git a/packages/skin-database/app/(modern)/scroll/layout.tsx b/packages/skin-database/app/(modern)/scroll/layout.tsx
index 819a1135..c14a138f 100644
--- a/packages/skin-database/app/(modern)/scroll/layout.tsx
+++ b/packages/skin-database/app/(modern)/scroll/layout.tsx
@@ -1,6 +1,7 @@
"use client";
-import { ReactNode } from "react";
+// @ts-expect-error - unstable_ViewTransition is not yet in @types/react
+import { unstable_ViewTransition as ViewTransition, ReactNode } from "react";
import BottomMenuBar from "./BottomMenuBar";
import "./scroll.css";
@@ -17,7 +18,9 @@ export default function Layout({ children }: LayoutProps) {
}}
>
{children}
-
+
+
+
);
}
diff --git a/packages/skin-database/tsconfig.json b/packages/skin-database/tsconfig.json
index af3d1751..c748feab 100644
--- a/packages/skin-database/tsconfig.json
+++ b/packages/skin-database/tsconfig.json
@@ -23,11 +23,7 @@
"outDir": "dist",
"strictNullChecks": true,
"skipLibCheck": true,
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
+ "lib": ["dom", "dom.iterable", "esnext"],
"strict": false,
"noEmit": true,
"incremental": true,
@@ -37,13 +33,9 @@
},
"include": [
"./**/*",
- ".next/types/**/*.ts"
+ ".next/types/**/*.ts",
+ ".next/types/app/(legacy)/about/page.tsx"
],
- "lib": [
- "es2015"
- ],
- "exclude": [
- "node_modules",
- "dist"
- ]
+ "lib": ["es2015"],
+ "exclude": ["node_modules", "dist"]
}