|
@@ -10,6 +10,7 @@ import { type UseCodeMirrorEditor, useCodeMirrorEditor } from '../services';
|
|
|
|
|
|
|
|
const { isDeepEquals } = deepEquals;
|
|
const { isDeepEquals } = deepEquals;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const isValid = (u: UseCodeMirrorEditor) => {
|
|
const isValid = (u: UseCodeMirrorEditor) => {
|
|
|
return u.state != null && u.view != null;
|
|
return u.state != null && u.view != null;
|
|
|
};
|
|
};
|