mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(codebase audit): preserve cleanup without regressions
Fix codebase audit regressions while preserving UI/UX behavior and adding review-driven hardening.
This commit is contained in:
@@ -80,9 +80,9 @@ export const CatalogButton = ({ address, isInAllView, isInSubscriptionsView, isI
|
||||
};
|
||||
|
||||
return (
|
||||
<button className='button'>
|
||||
<Link to={createCatalogLink()}>{t('catalog')}</Link>
|
||||
</button>
|
||||
<Link className='button' to={createCatalogLink()}>
|
||||
{t('catalog')}
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -151,9 +151,9 @@ export const ReturnButton = ({ address, isInAllView, isInSubscriptionsView, isIn
|
||||
};
|
||||
|
||||
return (
|
||||
<button className='button'>
|
||||
<Link to={createReturnLink()}>{t('return')}</Link>
|
||||
</button>
|
||||
<Link className='button' to={createReturnLink()}>
|
||||
{t('return')}
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user