% if valid_access? %> <% if valid_filters.any? %>
<% if current_filter == "follows" %> <%= render Users::FollowingComponent.new(user, follows: follows.group_by(&:followable_type)) %> <% else %> <%= render_user_partial current_filter %> <% end %> <% else %>