Skip to content

Commit

Permalink
fix(zoneMacro): useType
Browse files Browse the repository at this point in the history
  • Loading branch information
Souma-Sumire committed Nov 22, 2024
1 parent 3eef939 commit 854dfb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/zoneMacro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ const usedZoneInfo = [
...preSortZoneInfo.filter(v => v.contentType === undefined || !showContentTypes.includes(v.contentType)),
]
const useType = ref(undefined as 'overlay' | 'websocket' | undefined)
const { useType: _useType } = useWebSocket({ allowClose: true })
useType.value = _useType.value
const { useType } = useWebSocket({ allowClose: true })
onMounted(() => {
addOverlayListener('ChangeZone', macroStore.handleChangeZone)
Expand Down

0 comments on commit 854dfb5

Please sign in to comment.