Skip to content

Commit

Permalink
Fix renderCallback not being stored
Browse files Browse the repository at this point in the history
  • Loading branch information
robchett authored Oct 24, 2022
1 parent 7a3779f commit 3cd1e9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Blocks/BlockType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public function __construct(
public array $attributes = [],
?callable $renderCallback = null
) {
$this->renderCallback = $renderCallback;
}

public function isDynamic(): bool
Expand Down

0 comments on commit 3cd1e9f

Please sign in to comment.