Skip to content

Commit c85e7e2

Browse files
committed
chore: clean-up
1 parent 2d38862 commit c85e7e2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/coreui-vue/src/components/form/CFormSwitch.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineComponent, h, onMounted, watch, ref } from 'vue'
1+
import { defineComponent, h, watch, ref } from 'vue'
22

33
import { CFormLabel } from './CFormLabel'
44

@@ -81,12 +81,6 @@ const CFormSwitch = defineComponent({
8181
setup(props, { attrs, emit }) {
8282
const checked = ref(attrs.checked)
8383

84-
onMounted(() => {
85-
if (props.modelValue && typeof props.modelValue === 'boolean') {
86-
console.log(props.modelValue)
87-
}
88-
})
89-
9084
watch(
9185
() => props.modelValue,
9286
() => {

0 commit comments

Comments
 (0)