Update PageEditor to use ModelCategory enum for model selection

This commit is contained in:
bflatastic committed 2025-06-06 17:30:47 +07:00
1 parent 97bef45a4f
commit 56c80eb1a1
1 file changed
+2 -1
@@ -75,6 +75,7 @@ import {
} from "@storyteller/ui-gallery-modal";
import {
imageGenerationModels,
ModelCategory,
// ModelCategory,
ModelSelector,
// videoGenerationModels,
@@ -469,7 +470,7 @@ export const PageEditor = () => {
<div className="absolute bottom-6 left-6 z-20 flex items-center gap-2">
<ModelSelector
items={imageGenerationModels}
category="3d-editor"
category={ModelCategory.Editor3D}
panelTitle="Select Model"
panelClassName="min-w-[280px]"
buttonClassName="bg-transparent p-0 text-lg hover:bg-transparent text-white/80 hover:text-white"