diff --git a/app/Views/Components/Alert.php b/app/Views/Components/Alert.php index 41cf3bc5..9cf30075 100644 --- a/app/Views/Components/Alert.php +++ b/app/Views/Components/Alert.php @@ -30,6 +30,8 @@ class Alert extends Component $title = $this->title === null ? '' : '
' . $this->title . '
'; $class = 'inline-flex w-full p-2 text-sm border rounded ' . $variantClasses[$this->variant] . ' ' . $this->class; + unset($this->attributes['slot']); + unset($this->attributes['variant']); $attributes = stringify_attributes($this->attributes); return <<
- + renderSection('content') ?>