Skip to content

Commit

Permalink
🎨 Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Aug 20, 2024
1 parent ca5cb0f commit 01c755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/MenuResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function table(Table $table): Table
->label(__('filament-menu-builder::menu-builder.resource.name.label')),
Tables\Columns\TextColumn::make('locations.location')
->label(__('filament-menu-builder::menu-builder.resource.locations.label'))
->default($default = __('filament-menu-builder::menu-builder.resource.locations.empty'))
->default(__('filament-menu-builder::menu-builder.resource.locations.empty'))
->color(fn (string $state) => array_key_exists($state, $locations) ? 'primary' : 'gray')
->formatStateUsing(fn (string $state) => $locations[$state] ?? $state)
->limitList(2)
Expand Down

0 comments on commit 01c755b

Please sign in to comment.