pl-fe: error component fix, typo fix

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-15 18:52:02 +01:00
parent 4c3e75b334
commit a4aaacb31f
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ const SiteError: ErrorRouteComponent = ({ error, info }) => {
const sentryEnabled = Boolean(sentryDsn);
const isProduction = NODE_ENV === 'production';
const errorText = String(error) + info?.componentStack;
const errorText = String(error) + (info?.componentStack || '');
const clearCookies: React.MouseEventHandler = (e) => {
localStorage.clear();