removing input area for now
This commit is contained in:
1 parent
ae352ff244
commit
c6c1efddae
6 files changed
+76
-36
No files matched your search
@@ -44,7 +44,6 @@ export default function InputYaml<T extends {}>({
|
||||
const setText = (t: string) => {
|
||||
try {
|
||||
yaml.load(t);
|
||||
console.log("success!", yaml.load(t));
|
||||
setState({ text: t, error: undefined, hasChanged: true });
|
||||
} catch (_) {
|
||||
setState({ text: t, error: "! Invalid Yaml !", hasChanged: true });
|
||||
|
||||
Reference in new issue
Block a user