Skip to content

Commit 676ad63

Browse files
committed
fix widget
1 parent 8bde6b9 commit 676ad63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function toMarkdown(): HtmlString
9191

9292
public function hasWidget(): bool
9393
{
94-
return (bool) $this->widgetComponentName();
94+
return (bool) $this->getWidgetComponent();
9595
}
9696

9797
public function getWidgetComponent(): ?string

0 commit comments

Comments
 (0)