delete(); $this->refreshInvitations(); } public function refreshInvitations() { $this->invitations = TeamInvitation::whereTeamId(auth()->user()->currentTeam()->id)->get(); } }