Skip to content

Commit

Permalink
clean up the accordions
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jun 7, 2024
1 parent 154402f commit 696222e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Accordions.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getActiveAccordion(): int

public function accordions(array | Closure $accordions): static
{
$this->childComponents($accordions);
$this->childComponents(array_filter($accordions));

return $this;
}
Expand Down

0 comments on commit 696222e

Please sign in to comment.