chore: prefer arrow function shorthand
This commit is contained in:
@@ -67,9 +67,7 @@ export default createComponent({
|
||||
|
||||
watch(
|
||||
() => props.modelValue,
|
||||
(value) => {
|
||||
emit('change', value);
|
||||
}
|
||||
(value) => emit('change', value)
|
||||
);
|
||||
|
||||
useExpose({ toggle, props, checked });
|
||||
|
||||
Reference in New Issue
Block a user