fix: move ShaderGradientBackground dynamic import into client wrapper
All checks were successful
Gitea CI / test-build (push) Successful in 12m8s
Production Deployment (Zero Downtime) / deploy-production (push) Successful in 14m37s

next/dynamic with ssr:false is not allowed in Server Components.
Follows existing BackgroundBlobsClient pattern.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-02 01:03:51 +01:00
parent 8b440dd60b
commit ef72f5fc58
2 changed files with 18 additions and 7 deletions

View File

@@ -0,0 +1,16 @@
"use client";
import React, { useEffect, useState } from "react";
import ShaderGradientBackground from "./ShaderGradientBackground";
export default function ShaderGradientBackgroundClient() {
const [mounted, setMounted] = useState(false);
useEffect(() => {
setMounted(true);
}, []);
if (!mounted) return null;
return <ShaderGradientBackground />;
}