From 2cf0cf0de1fc298f1b44a0452c8dbb2c2f9dd71c Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 23 Dec 2022 17:03:11 +0100 Subject: JS refactors (#22227) - Replace all default exports with named exports, except for Vue SFCs - Remove names from Vue SFCs, they are automatically inferred from the filename - Misc whitespace-related tweaks --- web_src/js/features/repo-projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web_src/js/features/repo-projects.js') diff --git a/web_src/js/features/repo-projects.js b/web_src/js/features/repo-projects.js index b5a720c9d7..f6d6c89816 100644 --- a/web_src/js/features/repo-projects.js +++ b/web_src/js/features/repo-projects.js @@ -84,7 +84,7 @@ async function initRepoProjectSortable() { } } -export default function initRepoProject() { +export function initRepoProject() { if (!$('.repository.projects').length) { return; } -- cgit v1.2.3