Skip to content

Commit

Permalink
Update EntriesDemo.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Feb 1, 2025
1 parent 5485800 commit 55c0455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-assets/app/app/Livewire/Infolists/EntriesDemo.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function infolist(Schema $infolist): Schema
->schema([
IconEntry::make('status')
->state('reviewing')
->icon(fn (string $state): string => match ($state) {
->icon(fn (string $state): Heroicon => match ($state) {
'draft' => Heroicon::OutlinedPencil,
'reviewing' => Heroicon::OutlinedClock,
'published' => Heroicon::OutlinedCheckCircle,
Expand Down

0 comments on commit 55c0455

Please sign in to comment.