ui->merge->main
This commit is contained in:
parent
7950b58ba8
commit
f6bde4f118
|
@ -5,7 +5,7 @@ import Widgets3D from "./Widgets3D";
|
|||
import WidgetsFloating from "./WidgetsFloating";
|
||||
|
||||
const Widgets = () => {
|
||||
const [activeOption, setActiveOption] = useState("Floating");
|
||||
const [activeOption, setActiveOption] = useState("2D");
|
||||
|
||||
const handleToggleClick = (option: string) => {
|
||||
setActiveOption(option);
|
||||
|
|
|
@ -7,7 +7,7 @@ interface ModuleStore {
|
|||
}
|
||||
|
||||
const useModuleStore = create<ModuleStore>((set) => ({
|
||||
activeModule: "visualization", // Initial state
|
||||
activeModule: "builder", // Initial state
|
||||
setActiveModule: (module) => set({ activeModule: module }), // Update state
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue