Skip to content

Commit

Permalink
Fix custom link text
Browse files Browse the repository at this point in the history
  • Loading branch information
oleghalin authored May 17, 2020
1 parent 8ecd433 commit c6de55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function classes($additionalClasses)
public function text($text)
{
$this->withMeta([
'text' => is_callable($text) ? call_user_func($text) : $text,
'text' => $text instanceof Closure ? call_user_func($text) : $text,

This comment has been minimized.

Copy link
@andreisusanu

andreisusanu May 29, 2020

This is not working properly! Please check it out...

]);

return $this;
Expand Down

0 comments on commit c6de55e

Please sign in to comment.