diff --git a/src/Views/Concerns/WithSeo.php b/src/Views/Concerns/WithSeo.php index 19a6448..a6bb129 100644 --- a/src/Views/Concerns/WithSeo.php +++ b/src/Views/Concerns/WithSeo.php @@ -17,7 +17,7 @@ public function bootWithSeo(): void protected function seoValue(mixed $value, mixed $default = null): mixed { if ($value instanceof Closure) { - return value($value) ?? $default; + return value($value); } if (method_exists(static::class, $value)) {