'use client'; import { Section } from "@/components/ui/Section"; import { Heading } from "@/components/ui/Typography"; import { useEffect, useState } from "react"; import { BuildBoxSidebar } from "./BuildBoxSidebar"; export function ClientSidebarWrapper() { // Use state to prevent hydration errors const [isClient, setIsClient] = useState(false); // After component mounts, set isClient to true useEffect(() => { setIsClient(true); }, []); // On the server, or during hydration, return a placeholder with the same dimensions if (!isClient) { return (
Loading...
Cijena boxa
$0.00