Completed
Push — environmentTesting ( 2895dd...97b9cd )
by Wahiba
02:36
created
Components/ListPosts/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
5 5
 use Flynt\Features\Components\Component;
6 6
 use Timber\Timber;
7 7
 
8
-add_action('wp_enqueue_scripts', function () {
8
+add_action('wp_enqueue_scripts', function() {
9 9
     Component::enqueueAssets('ListPosts');
10 10
 });
11 11
 
12
-add_filter('Flynt/addComponentData?name=ListPosts', function ($data, $parentData) {
12
+add_filter('Flynt/addComponentData?name=ListPosts', function($data, $parentData) {
13 13
     $data['isArchive'] = is_home() || is_archive();
14 14
     $data['pagination'] = (isset($parentData['pagination'])) ? $parentData['pagination'] : null;
15 15
     $args = [
Please login to merge, or discard this patch.