diff --git a/invokeai/frontend/web/src/features/stylePresets/components/StylePresetForm/StylePresetForm.tsx b/invokeai/frontend/web/src/features/stylePresets/components/StylePresetForm/StylePresetForm.tsx index 674c179edd..2fd703103e 100644 --- a/invokeai/frontend/web/src/features/stylePresets/components/StylePresetForm/StylePresetForm.tsx +++ b/invokeai/frontend/web/src/features/stylePresets/components/StylePresetForm/StylePresetForm.tsx @@ -30,8 +30,8 @@ export const StylePresetForm = ({ updatingStylePresetId: string | null; formData: StylePresetFormData | null; }) => { - const [createStylePreset] = useCreateStylePresetMutation(); - const [updateStylePreset] = useUpdateStylePresetMutation(); + const [createStylePreset, { isLoading: isCreating }] = useCreateStylePresetMutation(); + const [updateStylePreset, { isLoading: isUpdating }] = useUpdateStylePresetMutation(); const { t } = useTranslation(); const allowPrivateStylePresets = useAppSelector((s) => s.config.allowPrivateStylePresets); @@ -109,7 +109,11 @@ export const StylePresetForm = ({ {allowPrivateStylePresets ? : } -