Skip to content

Commit

Permalink
pint
Browse files Browse the repository at this point in the history
  • Loading branch information
markhuot committed Oct 29, 2023
1 parent 4765ffd commit b578551
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/models/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getSlot(string $name = null): SlotCollection

// As we delve through the render tree pass some state around so we know
// where each child is rendering and can act accordingly. For example,
//
//
// 1. we set pass the context down so if a section sets a context of "bg: blue"
// then any child components will also see that same context.
// 2. set the render parent so child components know who is initiating
Expand Down
2 changes: 0 additions & 2 deletions tests/ContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

use markhuot\keystone\models\Component;

use function markhuot\craftpest\helpers\test\dd;

it('saves type', function () {
$component = Component::factory()->type('site/components/with-context')->create();
$component->refresh();
Expand Down

0 comments on commit b578551

Please sign in to comment.