cleanup library (#107)

* refactor library

* handle invalid tab numbers
This commit is contained in:
Aria Moradi
2021-11-19 16:36:02 +03:30
committed by GitHub
parent 057d284a01
commit 03d09b2e92
4 changed files with 19 additions and 35 deletions

View File

@@ -105,7 +105,6 @@ export default function DefaultNavBar() {
<Toolbar>
{
!navbarItems.some(({ path }) => path === history.location.pathname)
&& !history.location.pathname.startsWith('/library')
&& (
<IconButton
edge="start"