Made the header button show/hide work
This commit is contained in:
parent
48668f7f6e
commit
284e70b841
20 changed files with 585 additions and 588 deletions
|
@ -23,7 +23,9 @@ const Header: React.FC<HeaderProps> = ({ toggleDivs, showDivs }) => {
|
|||
<a href="/faq">FAQ</a>
|
||||
</li>
|
||||
<li>
|
||||
<button onClick={toggleDivs}>{showDivs ? "Hide Divs" : "Show Divs"}</button>
|
||||
<button onClick={toggleDivs}>
|
||||
{showDivs ? "Hide History and Models" : "Show History and Models"}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue