generated from Seekra/repository-template
style: remove unnecessary function whitespace
Remove the unnecessary whitespace between the function name or the 'function' keyword and the opening parenthesis.
This commit is contained in:
@@ -26,7 +26,7 @@ const props = defineProps({
|
||||
});
|
||||
const emit = defineEmits(['toggleExpanded']);
|
||||
|
||||
const toggleSidebar = function toggleSidebar () {
|
||||
const toggleSidebar = function toggleSidebar() {
|
||||
emit('toggleExpanded');
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -19,7 +19,7 @@ import Icon from '@/features/icons/components/Icon.vue';
|
||||
|
||||
const emit = defineEmits(['click']);
|
||||
|
||||
const click = function click (event) {
|
||||
const click = function click(event) {
|
||||
emit('click', event);
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user