Skip to content

Commit 2fda9a0

Browse files
committed
Remove await from Button.vue
1 parent 294a4d7 commit 2fda9a0

File tree

1 file changed

+2
-3
lines changed
  • src/components/schedule/auto-mode/auto-mode-button/modes/auto-mode

1 file changed

+2
-3
lines changed

src/components/schedule/auto-mode/auto-mode-button/modes/auto-mode/Button.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ import DialogQueue from "./queue/Dialog.vue";
3232
const { mobile } = useDisplay();
3333
const menuComponent = computed(() => (mobile.value ? VBottomSheet : VMenu));
3434
35-
const { data: mode, then: then1 } = useSubscribeScheduleAutoModeMode();
36-
const { pulling, then: then2 } = useAutoMode();
37-
await Promise.all([then1(), then2()]);
35+
const { data: mode } = useSubscribeScheduleAutoModeMode();
36+
const { pulling } = useAutoMode();
3837
</script>
3938

4039
<style scoped>

0 commit comments

Comments
 (0)