Skip to content

Commit

Permalink
Clean up and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Jan 8, 2024
1 parent 4b2fb51 commit e160a3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/dashboard/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="pt-4">
<%= turbo_frame_tag "taxed_incomes" do %>
<%= render partial: "shared/taxed_incomes",
locals: { salary_taxed: @salary_taxed, hourly_taxed: @hourly_taxed} %>
locals: { salary_taxed: @salary_taxed, hourly_taxed: @hourly_taxed } %>
<% end %>
</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions app/views/shared/_taxed_income.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<!--<div class="px-5"><%#= humanized_money_with_symbol(taxed_income.federal_tax) %></div>-->
<!--<div class="px-5"><%#= humanized_money_with_symbol(taxed_income.fica_tax) %></div>-->
<!--<div class="px-5"><%#= humanized_money_with_symbol(taxed_income.state_tax) %></div>-->
<!--<div class="px-5"><%#= humanized_money_with_symbol(taxed_income.total_net_income) %></div>-->

<% paid_taxes = [ taxed_income.federal_tax, taxed_income.fica_tax, taxed_income.state_tax, taxed_income.total_net_income ] %>

<% paid_taxes.each do |tax| %>
Expand Down

0 comments on commit e160a3d

Please sign in to comment.