Skip to content

Commit

Permalink
fix(snippet): wrong snippet on string value
Browse files Browse the repository at this point in the history
  • Loading branch information
hashrock committed Jan 9, 2024
1 parent 5cbe422 commit 77544c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/src/single.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function PageSingle(props: PageSingleProps) {
valueType = "number";
setValue(String(value));
} else {
setValue(value);
setValue(JSON.stringify(value));
}
setValueType(valueType);
setVersionstamp(result.versionstamp);
Expand Down

0 comments on commit 77544c0

Please sign in to comment.