ronds-metadata 1.1.30 → 1.1.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,7 +126,7 @@ var SqlEdit = function SqlEdit(props) {
126
126
  React.useEffect(function () {
127
127
  if (!editorRef.current) return;
128
128
 
129
- if (value) {
129
+ if (value || value === '') {
130
130
  editorRef.current.setValue(value);
131
131
  editorRef.current.focus();
132
132
  editorRef.current.setCursor(editorRef.current.lineCount(), 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.1.30",
4
+ "version": "1.1.31",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",