()
| 133 | const [loading, setLoading] = useState(false); |
| 134 | |
| 135 | const resetForm = () => { |
| 136 | setPasteInput(""); |
| 137 | setName(""); |
| 138 | setConfigJson(JSON.stringify(buildDefaultConfig(), null, 2)); |
| 139 | setError(""); |
| 140 | }; |
| 141 | |
| 142 | useEffect(() => { |
| 143 | if (!pasteInput.trim()) return; |
no test coverage detected