style: add loader state on acquiring token

This commit is contained in:
Khafid Prayoga
2025-08-19 15:50:17 +07:00
parent 066a884bf0
commit 3e6e773313
2 changed files with 12 additions and 14 deletions
+1 -3
View File
@@ -18,7 +18,7 @@ const refSearchNav: RefSearchNav = {
// Loading state management
const isLoading = reactive({
satusehatConn: false,
satusehatConn: true,
})
const hreaderPrep: HeaderPrep = {
@@ -74,8 +74,6 @@ const summaryData: Summary[] = [
async function callSatuSehat() {
try {
isLoading.satusehatConn = true
await new Promise((resolve) => setTimeout(resolve, 3000))
service.status = 'connected'
// service.status = 'error'