@@ -6,7 +6,7 @@ discard block  | 
                                                    ||
| 6 | 6 | use Flynt\Features\Acf\OptionPages;  | 
                                                        
| 7 | 7 | use Flynt\Utils\Asset;  | 
                                                        
| 8 | 8 | |
| 9 | -add_action('wp_enqueue_scripts', function () { | 
                                                        |
| 9 | +add_action('wp_enqueue_scripts', function() { | 
                                                        |
| 10 | 10 |      Component::enqueueAssets('MapGoogle', [ | 
                                                        
| 11 | 11 | [  | 
                                                        
| 12 | 12 | 'type' => 'script',  | 
                                                        
@@ -17,7 +17,7 @@ discard block  | 
                                                    ||
| 17 | 17 | ]);  | 
                                                        
| 18 | 18 | });  | 
                                                        
| 19 | 19 | |
| 20 | -add_filter('Flynt/addComponentData?name=MapGoogle', function ($data) { | 
                                                        |
| 20 | +add_filter('Flynt/addComponentData?name=MapGoogle', function($data) { | 
                                                        |
| 21 | 21 |      if (!empty($data['infoContent'])) { | 
                                                        
| 22 | 22 | $data['infoContent'] = htmlspecialchars(json_encode($data['infoContent']));  | 
                                                        
| 23 | 23 | }  |