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 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();
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user