diff --git a/src/Components/MetaTags.php b/src/Components/MetaTags.php index a17f9e8..e584753 100644 --- a/src/Components/MetaTags.php +++ b/src/Components/MetaTags.php @@ -45,9 +45,9 @@ public function render() ]; } - $this->title = $this->title ?? $this->props[$this->key]['title']; - $this->description = $this->description ?? $this->props[$this->key]['description']; - $this->image = $this->image ?? $this->props[$this->key]['image']; + $this->title = $this->props[$this->key]['title'] ?? $this->title; + $this->description = $this->props[$this->key]['description'] ?? $this->description; + $this->image = $this->props[$this->key]['image'] ?? $this->image; $this->color = $this->props[$this->key]['color'] ?? $this->color; if (! str_starts_with($this->color, '#')) {