Skip to content

Commit 1ea2f44

Browse files
committed
fix conflicts
2 parents 169dd5e + 609e1b5 commit 1ea2f44

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

app/Models/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace App\Models;
44

5-
// use Illuminate\Contracts\Auth\MustVerifyEmail;
5+
use Illuminate\Contracts\Auth\MustVerifyEmail;
66
use Illuminate\Database\Eloquent\Factories\HasFactory;
77
use Illuminate\Foundation\Auth\User as Authenticatable;
88
use Illuminate\Notifications\Notifiable;
99

10-
class User extends Authenticatable
10+
class User extends Authenticatable implements MustVerifyEmail
1111
{
1212
/** @use HasFactory<\Database\Factories\UserFactory> */
1313
use HasFactory, Notifiable;

resources/js/types/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { LucideIcon } from 'lucide-vue-next';
2+
import type { PageProps } from '@inertiajs/core';
23

34
export interface Auth {
45
user: User;
@@ -16,17 +17,10 @@ export interface NavItem {
1617
isActive?: boolean;
1718
}
1819

19-
export interface SharedData {
20+
export interface SharedData extends PageProps {
2021
name: string;
2122
quote: { message: string; author: string };
2223
auth: Auth;
23-
ziggy: {
24-
location: string;
25-
url: string;
26-
port: null | number;
27-
defaults: Record<string, unknown>;
28-
routes: Record<string, string>;
29-
};
3024
}
3125

3226
export interface User {

0 commit comments

Comments
 (0)