Merge pull request #2236 from PR0M3TH3AN/refactor-app-loadview-5332920943685041227

🧹 Simplify loadView assignment in Application constructor
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-07 22:57:02 -05:00
commit 7c1f247d0e
1 file changed
+1 -1
+1 -1
View File
@@ -240,7 +240,7 @@ class Application {
}
constructor({ services = {}, ui = {}, helpers = {}, loadView: viewLoader } = {}) {
this.loadView = typeof viewLoader === "function" ? viewLoader : null;
this.loadView = viewLoader || null;
const bootstrapServices = {
...services,