Migrate to $dispatch

This commit is contained in:
Marcus Moore 2024-05-29 12:18:31 -07:00
parent 8ff639913d
commit 73e3ac7dd8
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
@endif
<a class="button button-small"
wire:click="$emit('openModal')"
wire:click="$dispatch('openModal')"
onclick="$('#modal-create-client').modal('show');"
>
Create New Client

View file

@ -4,7 +4,7 @@
<div class="text-right" style="display: flex; justify-content: space-between; align-items: center;">
<a class="btn btn-info btn-sm action-link pull-right"
onclick="$('#modal-create-token').modal('show');"
wire:click="$emit('openModal')"
wire:click="$dispatch('openModal')"
>
Create New Token
</a>