generated from pascalmartineau/wp-skeleton
minor: rename onLoginSubmit / onLoginClick
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m2s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m2s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
const { onLogoutClick } = useAuth();
|
||||
const { logout } = useAuth();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -18,7 +18,7 @@ const { onLogoutClick } = useAuth();
|
||||
loading-auto
|
||||
to="/auth"
|
||||
label="Déconnexion"
|
||||
@click="onLogoutClick"
|
||||
@click="logout"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user