fix: react-doctor dialog/a11y/labels → 68/100 with 973 warnings
This commit is contained in:
+10
-10
@@ -13,6 +13,16 @@ import StorefrontFooter from "@/components/storefront/StorefrontFooter";
|
||||
import BrandStylesProvider from "@/components/storefront/BrandStylesProvider";
|
||||
import { ScrollReveal, ParallaxLayer, FadeOnScroll } from "@/components/ui/ScrollAnimations";
|
||||
import { supabase } from "@/lib/supabase";
|
||||
|
||||
function scrollToStops() {
|
||||
document.getElementById("stops")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
function scrollToStory() {
|
||||
document.getElementById("story")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
function scrollToProducts() {
|
||||
document.getElementById("products")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
import { getBrandSettingsPublic } from "@/actions/brand-settings";
|
||||
import { gsap } from "gsap";
|
||||
import { ScrollTrigger } from "gsap/ScrollTrigger";
|
||||
@@ -495,16 +505,6 @@ export default function TuxedoPage() {
|
||||
load();
|
||||
}, []);
|
||||
|
||||
function scrollToStops() {
|
||||
document.getElementById("stops")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
function scrollToStory() {
|
||||
document.getElementById("story")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
function scrollToProducts() {
|
||||
document.getElementById("products")?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
|
||||
// ─── GSAP SCROLL ANIMATIONS ──────────────────────────────────────────────
|
||||
// Now explicitly scoped + resilient guards (no more "invalid scope" warnings)
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user