pl-fe: error component fix, typo fix
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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();
|
||||
|
||||
@ -65,7 +65,7 @@ const config = defineConfig(({ command }) => ({
|
||||
manifest: {
|
||||
name: 'pl-fe',
|
||||
short_name: 'pl-fe',
|
||||
description: 'Mastodon-compatible social media front-endx',
|
||||
description: 'Mastodon-compatible social media front-end',
|
||||
icons: [
|
||||
{
|
||||
src: '/instance/images/logo.png',
|
||||
|
||||
Reference in New Issue
Block a user