Skip to content

Commit

Permalink
fix: change "and" for "&&" for consistency
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Smith <jmsmith1018@gmail.com>
  • Loading branch information
davidha99 and JoshDevHub committed Apr 24, 2024
1 parent 41c6ef7 commit fd892c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/paths/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<%= render CardComponent.new(classes: 'flex flex-col relative') do |card| %>
<% card.with_header(classes: 'flex flex-col justify-between items-center') do %>
<div class="absolute top-3.5 right-3.5">
<% if current_user.present? and current_user.on_path?(path) %>
<% if current_user.present? && current_user.on_path?(path) %>
<%= render Ui::BadgeComponent.new(color: 'green') do %>
<%= @badge_text %>
<% end %>
Expand Down

0 comments on commit fd892c9

Please sign in to comment.