Skip to content

Commit

Permalink
Fixed Conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
rishit-singh committed Dec 28, 2023
1 parent 14aa4c5 commit 560b030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/Conditional.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface ConditionalProps
export default function Conditional({Condition, children} : ConditionalProps): JSX.Element
{
if (Condition)
return (<>children</>);
return (<>{children}</>);

return <></>;
}

0 comments on commit 560b030

Please sign in to comment.