diff --git a/packages/client/src/components/inspector/InspectorStateField.vue b/packages/client/src/components/inspector/InspectorStateField.vue index ea19776e..5bb11348 100644 --- a/packages/client/src/components/inspector/InspectorStateField.vue +++ b/packages/client/src/components/inspector/InspectorStateField.vue @@ -156,8 +156,8 @@ function submitDrafting() { nodeId, state: { newKey: draftingNewProp.value.key, - type: typeof draftingNewProp.value.value, - value: draftingNewProp.value.value, + type: typeof toSubmit(draftingNewProp.value.value), + value: toSubmit(draftingNewProp.value.value), }, } satisfies InspectorStateEditorPayload) resetDrafting()