Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Mar 6, 2024
2 parents e637a83 + 798e6f3 commit 6c87d96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/app/_features/GitHubNippouMain/GitHubNippouMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export const GitHubNippouMain: FC = () => {

return (
<main className="mx-auto grid max-w-7xl gap-6 p-4 sm:p-6 lg:px-8">
{!state.success && <Alert>{state.error}</Alert>}
{
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
!state?.success && <Alert>{state.error}</Alert>
}
<GitHubNippouForm formAction={formAction} />
<div>
<Label htmlFor="result">Result</Label>
Expand Down

0 comments on commit 6c87d96

Please sign in to comment.