Skip to content

Commit 6cf23cf

Browse files
committed
remove unnecessary row; context already present
1 parent 3ab6620 commit 6cf23cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ArchivePageComponent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public function add_timber_context($context)
7373
}
7474

7575
if ($post_type = get_field('archive__post_type', $object->ID)) {
76-
$context['post'] = new Timber\Post($object);
7776
$context['posts'] = new Timber\PostQuery([
7877
'post_type' => $post_type,
7978
'posts_per_page' => get_field('archive__posts_per_page', $object->ID),

0 commit comments

Comments
 (0)