Skip to content

Commit

Permalink
fix: Playground render unknown data type in body form (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
RohinBhargava authored Jul 23, 2024
1 parent 5ed1df6 commit d8a1f94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const PlaygroundObjectPropertiesForm = memo<PlaygroundObjectPropertiesFor
}
onChangeObjectProperty(
property.key,
getDefaultValueForType(unwrapOptional(property.valueShape, types), types),
getDefaultValueForType(unwrapOptional(property.valueShape, types), types) ?? "",
);
}}
>
Expand Down

0 comments on commit d8a1f94

Please sign in to comment.