0
Fork 0
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:
Peter Zimon 2025-02-17 15:56:20 +01:00
parent 0abc6381f7
commit 5cef5d9f20

View file

@ -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'>