Skip to content

Commit

Permalink
add flags
Browse files Browse the repository at this point in the history
  • Loading branch information
imagine-hussain committed Sep 25, 2023
1 parent 67a89de commit 6a6feb3
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ const ValidateCtfButton = () => {
</ol>
}
</TextBlock>
<ModalTitle level={4}>Unlocked Flags</ModalTitle>
<TextBlock>
<ol>
{(result.flags.length > 0) && result.flags.map((flag, index) => (
<>
<li>
<TextBlock key={index}>{flag}</TextBlock>
</li>
</>
))}
</ol>
</TextBlock>
<ModalTitle level={4}>
{
result.valid ? (
Expand Down

0 comments on commit 6a6feb3

Please sign in to comment.