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:
2026-08-08 15:23:29 +02:00
parent 9d252d5e62
commit 2520fff771
31 changed files with 55 additions and 55 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ const activePath = computed(() => {
});
const activeSection = ref(null);
const updateSettings = async function updateSettings () {
const updateSettings = async function updateSettings() {
const setting = getSettingRecursively(activePath.value, settings);
if (setting) {
activeSection.value = setting;
@@ -50,7 +50,7 @@ const updateSettings = async function updateSettings () {
watch(route, (newRoute) => updateSettings(newRoute));
onMounted(updateSettings);
const toggleSidebarIfSmallScreen = function toggleSidebarIfSmallScreen (toggleSidebarFunction) {
const toggleSidebarIfSmallScreen = function toggleSidebarIfSmallScreen(toggleSidebarFunction) {
if (matchMedia('(max-width: 48rem)').matches) toggleSidebarFunction();
};
</script>