Fix demo task readiness and gate event creation
This commit is contained in:
@@ -14,8 +14,7 @@ import React from 'react';
|
||||
import { usePage } from '@inertiajs/react';
|
||||
import { useEffect } from 'react';
|
||||
import { Sentry, initSentry } from './lib/sentry';
|
||||
|
||||
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
|
||||
import { buildPageTitle } from './lib/appTitle';
|
||||
const InertiaFallback: React.FC = () => (
|
||||
<div className="flex min-h-screen items-center justify-center text-sm text-muted-foreground">
|
||||
Oberfläche konnte nicht geladen werden.
|
||||
@@ -48,7 +47,7 @@ const LocaleSync: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
||||
};
|
||||
|
||||
createInertiaApp({
|
||||
title: (title) => title ? `${title} - ${appName}` : appName,
|
||||
title: (title) => buildPageTitle(title),
|
||||
resolve: (name) =>
|
||||
resolvePageComponent(
|
||||
`./pages/${name}.tsx`,
|
||||
|
||||
Reference in New Issue
Block a user