import { getBranding } from "#/lib/zitadel"; import { server } from "../lib/zitadel"; import { use } from "react"; const ThemeWrapper = async ({ children }: any) => { console.log("hehe"); // const { resolvedTheme } = useTheme(); const isDark = true; //resolvedTheme && resolvedTheme === "dark"; try { const policy = await getBranding(server); const backgroundStyle = { backgroundColor: `${policy?.backgroundColorDark}.`, }; console.log(policy); return (