Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function share(Request $request): array

return [
...parent::share($request),
'name' => config('app.name'),
'quote' => ['message' => trim($message), 'author' => trim($author)],
'auth' => [
'user' => $request->user(),
Expand Down
2 changes: 1 addition & 1 deletion resources/js/layouts/auth/AuthSplitLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import AppLogoIcon from '@/components/AppLogoIcon.vue';
import { Link, usePage } from '@inertiajs/vue3';

const name = import.meta.env.VITE_APP_NAME || 'Laravel';
const page = usePage();
const name = page.props.name;
const quote = page.props.quote;

defineProps<{
Expand Down
1 change: 0 additions & 1 deletion resources/js/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export interface NavItem {
}

export interface SharedData {
name: string;
quote: { message: string; author: string };
auth: Auth;
ziggy: {
Expand Down