Skip to content
Snippets Groups Projects
Verified Commit 5363dcab authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

minor

parent f83ea74d
No related branches found
No related tags found
1 merge request!1Initial implementation
......@@ -52,13 +52,11 @@ function FunctionContainer({
const [output, setOutput] = useState('');
const [progress, setProgress] = useState(null);
const [loading, setLoading] = useState(false);
const [submitted, setSubmitted] = useState(false);
const [finalSchema, setFinalSchema] = useState(schema);
// @ts-expect-error:next-line
const buttonRef: { current: HTMLButtonElement } = useRef(null);
const defaultOnReponse = (responseData: unknown) => {
setSubmitted(true);
if (typeof responseData === 'string') {
setOutput(responseData);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment