From 47c0326430955b14ecbf071db9f04b7900649d9b Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 24 Jul 2023 14:21:25 -0700 Subject: [PATCH] refactor: remove unused callback store value --- store/callbackActions.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/store/callbackActions.ts b/store/callbackActions.ts index d864b3564..c1a23f646 100644 --- a/store/callbackActions.ts +++ b/store/callbackActions.ts @@ -11,12 +11,11 @@ export const useCallbackActionsStore = defineStore('callbackActions', () => { const installKeyStore = useInstallKeyStore(); const serverStore = useServerStore(); - type CallbackStatus = 'error' | 'loading' | 'ready' | 'success'; + type CallbackStatus = 'closing' | 'error' | 'loading' | 'ready' | 'success'; const callbackStatus = ref('ready'); const callbackData = ref(); const callbackError = ref(); - const callbackFeedbackVisible = ref(false); const redirectToCallbackType = (decryptedData: QueryPayloads) => { console.debug('[redirectToCallbackType]', { decryptedData }); @@ -30,7 +29,6 @@ export const useCallbackActionsStore = defineStore('callbackActions', () => { // Display the feedback modal callbackData.value = decryptedData; callbackStatus.value = 'loading'; - callbackFeedbackVisible.value = true; // Parse the data and perform actions callbackData.value.actions.forEach(async (action, index, array) => { @@ -76,7 +74,6 @@ export const useCallbackActionsStore = defineStore('callbackActions', () => { return { redirectToCallbackType, callbackData, - callbackFeedbackVisible, callbackStatus, setCallbackStatus, };