diff --git a/src/components/atoms/InputWithButton.tsx b/src/components/atoms/InputWithButton.tsx index f1d62be..e8cd6ef 100644 --- a/src/components/atoms/InputWithButton.tsx +++ b/src/components/atoms/InputWithButton.tsx @@ -72,7 +72,6 @@ export function InputWithButton() { setIsLoading(true); const data = await postGetResult(contextRef.current.value); // setResult(mock); - const data = await postGetResult(contextRef.current.value); setIsLoading(false); setResult(data); } catch (error) { @@ -102,7 +101,6 @@ export function InputWithButton() { - {result && (