Skip to content

Commit

Permalink
fix: feedback for redirect instead of location
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrinsieboy committed Jan 24, 2024
1 parent b5582ff commit 9b3dd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Http/Controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function index()
$userData = auth()->user();

if (!$userData) {
Inertia::location('/');
return redirect('/');
}

// Get the Statistics
Expand Down

0 comments on commit 9b3dd2b

Please sign in to comment.