@@ -5,14 +5,14 @@  | 
                                                    ||
| 5 | 5 | use Flynt\Features\Components\Component;  | 
                                                        
| 6 | 6 | use Timber\Menu;  | 
                                                        
| 7 | 7 | |
| 8 | -add_action('init', function () { | 
                                                        |
| 8 | +add_action('init', function() { | 
                                                        |
| 9 | 9 | register_nav_menus([  | 
                                                        
| 10 | 10 |          'navigation_footer' => __('Navigation Footer', 'flynt-starter-theme') | 
                                                        
| 11 | 11 | ]);  | 
                                                        
| 12 | 12 | });  | 
                                                        
| 13 | 13 | |
| 14 | -add_filter('Flynt/addComponentData?name=NavigationFooter', function ($data) { | 
                                                        |
| 15 | -    add_action('wp_enqueue_scripts', function () { | 
                                                        |
| 14 | +add_filter('Flynt/addComponentData?name=NavigationFooter', function($data) { | 
                                                        |
| 15 | +    add_action('wp_enqueue_scripts', function() { | 
                                                        |
| 16 | 16 |          Component::enqueueAssets('NavigationFooter'); | 
                                                        
| 17 | 17 | });  | 
                                                        
| 18 | 18 | |
@@ -5,14 +5,14 @@  | 
                                                    ||
| 5 | 5 | use Flynt\Features\Components\Component;  | 
                                                        
| 6 | 6 | use Timber\Menu;  | 
                                                        
| 7 | 7 | |
| 8 | -add_action('init', function () { | 
                                                        |
| 8 | +add_action('init', function() { | 
                                                        |
| 9 | 9 | register_nav_menus([  | 
                                                        
| 10 | 10 |          'navigation_main' => __('Navigation Main', 'flynt-starter-theme') | 
                                                        
| 11 | 11 | ]);  | 
                                                        
| 12 | 12 | });  | 
                                                        
| 13 | 13 | |
| 14 | -add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) { | 
                                                        |
| 15 | -    add_action('wp_enqueue_scripts', function () { | 
                                                        |
| 14 | +add_filter('Flynt/addComponentData?name=NavigationMain', function($data) { | 
                                                        |
| 15 | +    add_action('wp_enqueue_scripts', function() { | 
                                                        |
| 16 | 16 |          Component::enqueueAssets('NavigationFooter'); | 
                                                        
| 17 | 17 | });  | 
                                                        
| 18 | 18 | |