limiting pilot data for unauthenticated users (#68)
* limiting pilot data for unauthenticated users * limiting pilot data for unauthenticated users
This commit was merged in pull request #68.
This commit is contained in:
@@ -34,15 +34,12 @@ const SiteNav = () => {
|
||||
{
|
||||
name: 'Logbook',
|
||||
url: '/'
|
||||
}
|
||||
];
|
||||
|
||||
if (isAuthenticated) {
|
||||
pages.push({
|
||||
},
|
||||
{
|
||||
name: 'Pilots',
|
||||
url: '/pilots'
|
||||
})
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
setPages(pages)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user