Skip to content

Commit e53f741

Browse files
committed
Add loading indicator to landing page button
1 parent 596c5b2 commit e53f741

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/LandingPage.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import { open } from '@tauri-apps/api/shell'
33
import { ref } from 'vue'
44
import AppButton from '../components/AppButton.vue'
5-
import PageHeader from '../components/PageHeader.vue'
6-
import { Icons } from '../components/Icons'
75
import { Page } from '../constants'
86
import { useStore } from '../stores/store'
97
import { useTauriEvent } from '../composables/useTauriEvent'
@@ -58,7 +56,10 @@ function handleLogin() {
5856
</template>
5957

6058
<template #footer>
61-
<AppButton @click="handleLogin">
59+
<AppButton
60+
:loading="processing"
61+
@click="handleLogin"
62+
>
6263
Log in via Github
6364
</AppButton>
6465
</template>

0 commit comments

Comments
 (0)