Skip to content

Commit

Permalink
Fix button problem with x-on:click
Browse files Browse the repository at this point in the history
  • Loading branch information
manelgavalda committed Nov 12, 2023
1 parent bd11286 commit cd3f044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/livewire/tokens.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="col-span-full xl:col-span-12 bg-white dark:bg-slate-800 shadow-lg rounded-sm border border-slate-200 dark:border-slate-700 mt-4">
<header class="p-4 border-b border-slate-100 dark:border-slate-700 inline-flex">
<h2 class="font-semibold text-slate-800 dark:text-slate-100 mr-2">Balances</h2>
<button class="bg-gray-500 hover:bg-gray-700 font-bold py-2 px-4 rounded inline-flex items-center h-6" wire:loading.attr="disabled" wire:loading.class="bg-gray-700" wire:click="reloadTokens">
<button class="bg-gray-500 hover:bg-gray-700 font-bold py-2 px-4 rounded inline-flex items-center h-6" wire:loading.attr="disabled" wire:loading.class="bg-gray-700" x-on:click="$wire.call('reloadTokens')">
<i class="fa fa-refresh" style="font-size:15px" wire:loading.class="animate-spin"></i>
</button>
</header>
Expand Down

0 comments on commit cd3f044

Please sign in to comment.