Skip to content

Commit

Permalink
fix: data
Browse files Browse the repository at this point in the history
  • Loading branch information
choipureum committed Jun 1, 2024
1 parent fa4046b commit 512c090
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/atoms/InputWithButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -102,7 +101,6 @@ export function InputWithButton() {
</Button>
</div>


{result && (
<Card>
<CardHeader>
Expand Down

0 comments on commit 512c090

Please sign in to comment.