diff --git a/app/Livewire/ShowUsers.php b/app/Livewire/Admin/ShowUsers.php
similarity index 51%
rename from app/Livewire/ShowUsers.php
rename to app/Livewire/Admin/ShowUsers.php
index 13b104c..433f2ed 100644
--- a/app/Livewire/ShowUsers.php
+++ b/app/Livewire/Admin/ShowUsers.php
@@ -1,6 +1,6 @@
showUsers();
- return view('livewire.admin.show-users', ['users' => $users]);
+ $this->users = $userService->showUsers();
}
+ public function show(UserService $userService) {}
public function render()
{
return view('livewire.admin.show-users');
diff --git a/app/Livewire/ShowClient.php b/app/Livewire/ShowClient.php
index 8e29dba..3565f20 100644
--- a/app/Livewire/ShowClient.php
+++ b/app/Livewire/ShowClient.php
@@ -1,6 +1,6 @@
@yield('title', 'Nexus - Dashboard')
@section('content')
-