From e557b8569d4b136866a6230df6fb6d9794aaabeb Mon Sep 17 00:00:00 2001 From: Mahatma Mahardhika Date: Mon, 11 Nov 2024 13:46:18 +0700 Subject: [PATCH] fix(profile-card): fixed redirect to profile page after register company fixes #14 --- app/Livewire/RegisterCompanyPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/RegisterCompanyPage.php b/app/Livewire/RegisterCompanyPage.php index 4165835..06caf5d 100644 --- a/app/Livewire/RegisterCompanyPage.php +++ b/app/Livewire/RegisterCompanyPage.php @@ -71,11 +71,11 @@ public function registerCompany(): RedirectResponse|Redirector }, 5); - return redirect()->route('dashboard'); + return redirect()->route('profile'); } public function render(): View { return view('livewire.register-company-page'); } -} +} \ No newline at end of file