Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove useless watcheffect
  • Loading branch information
benceruleanlu committed Dec 11, 2025
commit ee476842a38b08af184735c32e76e6fea8c09e92
3 changes: 1 addition & 2 deletions src/components/actionbar/ComfyActionbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ import { clamp } from 'es-toolkit/compat'
import { storeToRefs } from 'pinia'
import Panel from 'primevue/panel'
import type { ComponentPublicInstance } from 'vue'
import { computed, nextTick, onMounted, ref, watch, watchEffect } from 'vue'
import { computed, nextTick, onMounted, ref, watch } from 'vue'

import IconButton from '@/components/button/IconButton.vue'
import IconTextButton from '@/components/button/IconTextButton.vue'
Expand Down Expand Up @@ -153,7 +153,6 @@ const storedPosition = useLocalStorage('Comfy.MenuPosition.Floating', {
x: 0,
y: 0
})
watchEffect(() => emit('update:docked', docked.value))
const wrapperElement = computed(() => {
const element = unrefElement(actionbarWrapperRef)
return element instanceof HTMLElement ? element : null
Expand Down
Loading