From 36ae15162a50467e644bfea1342be78917d77b66 Mon Sep 17 00:00:00 2001 From: makearmy Date: Sat, 27 Sep 2025 18:34:59 -0400 Subject: [PATCH] build error fix --- app/portal/laser-settings/Client.tsx | 58 ++++++++++++++++++++++++ app/portal/laser-settings/page.tsx | 65 ++------------------------- app/portal/laser-sources/Client.tsx | 38 ++++++++++++++++ app/portal/laser-sources/page.tsx | 48 ++------------------ app/portal/materials/Client.tsx | 57 +++++++++++++++++++++++ app/portal/materials/page.tsx | 67 ++-------------------------- app/portal/projects/Client.tsx | 38 ++++++++++++++++ app/portal/projects/page.tsx | 48 ++------------------ 8 files changed, 207 insertions(+), 212 deletions(-) create mode 100644 app/portal/laser-settings/Client.tsx create mode 100644 app/portal/laser-sources/Client.tsx create mode 100644 app/portal/materials/Client.tsx create mode 100644 app/portal/projects/Client.tsx diff --git a/app/portal/laser-settings/Client.tsx b/app/portal/laser-settings/Client.tsx new file mode 100644 index 00000000..466588a0 --- /dev/null +++ b/app/portal/laser-settings/Client.tsx @@ -0,0 +1,58 @@ +"use client"; + +import dynamic from "next/dynamic"; +import { useSearchParams } from "next/navigation"; + +const SettingsSwitcher = dynamic( + () => import("@/components/portal/SettingsSwitcher"), + { ssr: false } +); + +function DetailsFrame({ src }: { src: string }) { + return ( +