chore: prefer arrow function shorthand
This commit is contained in:
@@ -64,9 +64,7 @@ export default createComponent({
|
||||
cancel: false,
|
||||
});
|
||||
|
||||
const onUpdateShow = (value: boolean) => {
|
||||
emit('update:show', value);
|
||||
};
|
||||
const onUpdateShow = (value: boolean) => emit('update:show', value);
|
||||
|
||||
const close = (action: DialogAction) => {
|
||||
onUpdateShow(false);
|
||||
|
||||
Reference in New Issue
Block a user