Skip to content

Commit ef110f3

Browse files
improve test
1 parent ee749eb commit ef110f3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/composables/useCoreCommands.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComputedRef } from 'vue'
1+
import { computed } from 'vue'
22

33
import { useCurrentUser } from '@/composables/auth/useCurrentUser'
44
import { useFirebaseAuthActions } from '@/composables/auth/useFirebaseAuthActions'
@@ -66,9 +66,7 @@ import { ManagerTab } from '@/workbench/extensions/manager/types/comfyManagerTyp
6666

6767
import { useWorkflowTemplateSelectorDialog } from './useWorkflowTemplateSelectorDialog'
6868

69-
const defaultSubscriptionState: Pick<ComputedRef<boolean>, 'value'> = {
70-
value: true
71-
}
69+
const defaultSubscriptionState = computed(() => true)
7270
const noop = () => {}
7371

7472
const moveSelectedNodesVersionAdded = '1.22.2'

0 commit comments

Comments
 (0)