mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Updated route indication
This commit is contained in:
parent
0abc6381f7
commit
5cef5d9f20
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const Content: React.FC<ContentProps> = ({route}) => {
|
|||
|
||||
const MainContent = () => {
|
||||
const {route} = useRouting();
|
||||
const mainRoute = route.split('/')[0];
|
||||
const mainRoute = route.split('/')[0] || 'inbox';
|
||||
|
||||
return (
|
||||
<div className='mx-auto flex h-screen w-full max-w-page flex-col overflow-y-auto'>
|
||||
|
|
Loading…
Add table
Reference in a new issue