Skip to content

Commit

Permalink
Fixed height attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Nov 6, 2023
1 parent 9f8ce2a commit 173a26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IconComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function renderIcon(): string
$finder = app()->make(IconFinder::class);

$this->width = $this->width ?? $finder->getDefaultWidth();
$this->height = $this->width ?? $finder->getDefaultHeight();
$this->height = $this->height ?? $finder->getDefaultHeight();

$icon = $finder->loadFile($this->path);

Expand Down

0 comments on commit 173a26a

Please sign in to comment.