1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

Lint fixes

This commit is contained in:
Zach Gollwitzer 2025-04-28 22:33:55 -04:00
parent d9f7178fe6
commit db3953825f
5 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ module ApplicationHelper
extra_classes
)
if custom
if custom
inline_svg_tag("#{key}.svg", class: icon_classes, **opts)
elsif as_button
render ButtonComponent.new(variant: "icon", class: extra_classes, icon: key, size: size, type: "button", **opts)

View file

@ -33,9 +33,9 @@
<% end %>
<% else %>
<%= icon(
"refresh-cw",
as_button: true,
size: "sm",
"refresh-cw",
as_button: true,
size: "sm",
href: sync_account_path(account),
disabled: account.syncing?,
frame: :_top

View file

@ -2,7 +2,7 @@
<div class="flex flex-col h-dvh bg-container pt-safe">
<header class="flex items-center justify-between p-8">
<%= render LinkComponent.new(
variant: "icon",
variant: "icon",
icon: "arrow-left",
href: content_for(:previous_path) || imports_path
) %>

View file

@ -94,9 +94,9 @@
<% end %>
<% else %>
<%= icon(
"refresh-cw",
as_button: true,
href: sync_plaid_item_path(plaid_item),
"refresh-cw",
as_button: true,
href: sync_plaid_item_path(plaid_item),
disabled: plaid_item.syncing? || plaid_item.scheduled_for_deletion?
) %>
<% end %>

View file

@ -20,8 +20,8 @@
</div>
<%= icon(
"trash-2",
size: "sm",
as_button: true,
"trash-2",
size: "sm",
as_button: true,
data: { action: "rule--actions#remove", rule__actions_destroy_param: action.persisted? }) %>
</li>