Skip to content

Commit 2183cc5

Browse files
Fix Dashboard.php
1 parent ca6bad1 commit 2183cc5

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

app/Filament/App/Pages/Dashboard.php

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,10 @@
66
use Filament\Widgets\StatsOverviewWidget\Stat;
77
use UnitEnum;
88
use BackedEnum;
9-
10-
class FamilyEventResource extends Resource
11-
{
12-
protected static ?string $model = FamilyEvent::class;
13-
14-
protected static ?string $navigationLabel = 'Family Events';
15-
16-
protected static string | BackedEnum | null $navigationIcon = 'heroicon-o-rectangle-stack';
17-
18-
protected static string | UnitEnum | null $navigationGroup = 'Family';
19-
209
class Dashboard extends BaseDashboard
2110
{
22-
protected static ?string $navigationIcon = 'heroicon-o-home';
23-
protected static ?string $navigationGroup = 'Dashboard';
11+
protected static string | BackedEnum | null $navigationIcon = 'heroicon-o-home';
12+
protected static string | UnitEnum | null $navigationGroup = 'Dashboard';
2413
protected static ?int $navigationSort = 1;
2514

2615
public function getWidgets(): array

0 commit comments

Comments
 (0)