chore: prefer arrow function shorthand
This commit is contained in:
@@ -96,9 +96,7 @@ export default createComponent({
|
||||
type="danger"
|
||||
class={bem('add')}
|
||||
text={props.addText || t('addText')}
|
||||
onClick={() => {
|
||||
emit('add');
|
||||
}}
|
||||
onClick={() => emit('add')}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user