completionId: cgen-382bc2179bfc4532b1f51b308650cd74

cgen-382bc2179bfc4532b1f51b308650cd74
This commit is contained in:
Builder.io 2025-11-16 08:49:01 +00:00
parent 8bda63db7e
commit fa8fc3b9ed

View file

@ -36,7 +36,7 @@ import {
ToggleRight,
} from "lucide-react";
const API_BASE = import.meta.env.VITE_API_BASE || "";
const getApiBase = () => typeof window !== "undefined" ? window.location.origin : "";
type ViewMode = "creator" | "client";