Skip to content

Commit 0ba181e

Browse files
authored
Update UserDashboardController.php Update Resolve Error 500 User Dashboard
1 parent 8ecb344 commit 0ba181e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/UserDashboardController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class UserDashboardController extends Controller
2020
public function dashboardUser()
2121
{
2222
$user = auth()->user();
23-
$data['user'] = $user->load('referrer');
23+
2424

2525

2626
return inertia('User/Dashboard/UserDashboard', [
27-
'data' => $data,
27+
2828
]);
2929
}
3030

0 commit comments

Comments
 (0)