Skip to content

Commit

Permalink
Update BigOModals.js
Browse files Browse the repository at this point in the history
  • Loading branch information
luciankt authored Aug 28, 2024
1 parent 32c96a5 commit 920e0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modals/BigOModals.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ function unblurAll() {
}

const Modals = page => {
return (
return timeComplexities[page] ? (
<div>
<div class="button-container">
<button onClick={unblurAll}>Reveal All Big-O</button>
</div>
{renderRows(timeComplexities[page])}
</div>
);
) : null;
};

export default Modals;

0 comments on commit 920e0c7

Please sign in to comment.