member->teams()->detach(session('currentTeam')); session(['currentTeam' => session('currentTeam')->fresh()]); $this->emit('reloadWindow'); } }