(value: string)
| 62 | }; |
| 63 | |
| 64 | const validateJSON = (value: string) => { |
| 65 | try { |
| 66 | JSON.parse(value); |
| 67 | return true; |
| 68 | } catch (error) { |
| 69 | return false; |
| 70 | } |
| 71 | }; |
| 72 | |
| 73 | const handleContentSubmit = async () => { |
| 74 | setLoading(true); |
no outgoing calls
no test coverage detected