pl-fe: fix not found layout

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-03 17:21:58 +01:00
parent 6c997cad09
commit a2968004f7
2 changed files with 7 additions and 4 deletions

View File

@ -70,7 +70,7 @@ const ProfileStats: React.FC<IProfileStats> = ({ account, onClickHandler }) => {
</Link>
{account.subscribers_count > 0 && (
// <NavLink to={`/@${account.acct}/subscribers`} onClick={onClickHandler} title={intl.formatNumber(account.subscribers_count)} className='hover:underline'>
// <Link to='/@{$username}/subscribers' params={{ username: account.acct }} onClick={onClickHandler} title={intl.formatNumber(account.subscribers_count)} className='hover:underline'>
<HStack alignItems='center' space={1}>
{!demetricator && (
<Text theme='primary' weight='bold' size='sm'>
@ -81,7 +81,7 @@ const ProfileStats: React.FC<IProfileStats> = ({ account, onClickHandler }) => {
{intl.formatMessage(messages.subscribers)}
</Text>
</HStack>
// </NavLink>
// </Link>
)}
</HStack>
);

View File

@ -1,9 +1,12 @@
import React from 'react';
import MissingIndicator from '../../components/missing-indicator';
import MissingIndicator from 'pl-fe/components/missing-indicator';
import Layout from 'pl-fe/components/ui/layout';
const GenericNotFoundPage = () => (
<MissingIndicator />
<Layout.Main>
<MissingIndicator />
</Layout.Main>
);
export { GenericNotFoundPage as default };