Skip to content

Commit 25ef858

Browse files
committed
🔧 Bootloader: Remove unnecessary wrapping action from inside theme
1 parent 256128b commit 25ef858

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

functions.php

+8-10
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@
3333
|
3434
*/
3535

36-
add_action('after_setup_theme', function () {
37-
Application::configure()
38-
->withMiddleware(function (Middleware $middleware) {
39-
//
40-
})
41-
->withExceptions(function (Exceptions $exceptions) {
42-
//
43-
})
44-
->boot();
45-
}, 0);
36+
Application::configure()
37+
->withMiddleware(function (Middleware $middleware) {
38+
//
39+
})
40+
->withExceptions(function (Exceptions $exceptions) {
41+
//
42+
})
43+
->boot();
4644

4745
/*
4846
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)