DEV: we don't need promise here; loadScript is already a promise

DEV: we don’t need promise here; loadScript is already a promise

diff --git a/assets/javascripts/initializers/discourse-calendar.js.es6 b/assets/javascripts/initializers/discourse-calendar.js.es6
index d000957..186f8df 100644
--- a/assets/javascripts/initializers/discourse-calendar.js.es6
+++ b/assets/javascripts/initializers/discourse-calendar.js.es6
@@ -26,10 +26,8 @@ function stringToHexColor(str) {
 }
 
 function loadFullCalendar() {
-  return new Promise(resolve =>
-    loadScript(
-      "/plugins/discourse-calendar/javascripts/fullcalendar-with-moment-timezone.min.js"
-    ).then(resolve)
+  return loadScript(
+    "/plugins/discourse-calendar/javascripts/fullcalendar-with-moment-timezone.min.js"
   );
 }
 

GitHub sha: 17034c5f