remove double names in plugin and theme objects

This commit is contained in:
Adam Weston
2023-07-16 11:18:10 -04:00
parent 89969d6be2
commit e9976764be
2 changed files with 2 additions and 4 deletions

View File

@@ -7,11 +7,9 @@ use Filament\Panel;
class SkeletonPlugin implements Plugin class SkeletonPlugin implements Plugin
{ {
protected static string $name = 'skeleton-plugin';
public function getId(): string public function getId(): string
{ {
return static::$name; return 'skeleton';
} }
public function register(Panel $panel): void public function register(Panel $panel): void

View File

@@ -12,7 +12,7 @@ class Skeleton implements Plugin
{ {
public function getId(): string public function getId(): string
{ {
return 'skeleton-theme'; return 'skeleton';
} }
public function register(Panel $panel): void public function register(Panel $panel): void