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 sentryEnabled = Boolean(sentryDsn);
const isProduction = NODE_ENV === 'production'; const isProduction = NODE_ENV === 'production';
const errorText = String(error) + info?.componentStack; const errorText = String(error) + (info?.componentStack || '');
const clearCookies: React.MouseEventHandler = (e) => { const clearCookies: React.MouseEventHandler = (e) => {
localStorage.clear(); localStorage.clear();

View File

@ -65,7 +65,7 @@ const config = defineConfig(({ command }) => ({
manifest: { manifest: {
name: 'pl-fe', name: 'pl-fe',
short_name: 'pl-fe', short_name: 'pl-fe',
description: 'Mastodon-compatible social media front-endx', description: 'Mastodon-compatible social media front-end',
icons: [ icons: [
{ {
src: '/instance/images/logo.png', src: '/instance/images/logo.png',