loadLockedAccounts(); // Load users initially } public function loadLockedAccounts() { $this->lockedAccounts = collect(json_decode(file_get_contents(storage_path('app/locked-accounts.json')), true)); } public function render() { return view('livewire.member-management.locked-account', [ 'locked_accounts' => $this->lockedAccounts, // Pass all users to the table ]); } }