Skip to content

Commit

Permalink
add custom handle for tab
Browse files Browse the repository at this point in the history
  • Loading branch information
bluzky committed Nov 28, 2024
1 parent 7602f3b commit 8a4ac73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/salad_ui/tabs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ defmodule SaladUI.Tabs do
])
}
data-target={@value}
phx-click={show_tab(@builder.id, @value)}
{@rest}
phx-click={show_tab(@builder.id, @value)}
>
<%= render_slot(@inner_block) %>
</button>
Expand Down

0 comments on commit 8a4ac73

Please sign in to comment.