Skip to content

Commit

Permalink
🔧 Bootloader: Remove unnecessary wrapping action from inside theme
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Jan 4, 2025
1 parent 256128b commit 25ef858
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,14 @@
|
*/

add_action('after_setup_theme', function () {
Application::configure()
->withMiddleware(function (Middleware $middleware) {
//
})
->withExceptions(function (Exceptions $exceptions) {
//
})
->boot();
}, 0);
Application::configure()
->withMiddleware(function (Middleware $middleware) {
//
})
->withExceptions(function (Exceptions $exceptions) {
//
})
->boot();

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 25ef858

Please sign in to comment.