mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-07 05:58:51 +08:00
remove double names in plugin and theme objects
This commit is contained in:
@@ -7,11 +7,9 @@ use Filament\Panel;
|
||||
|
||||
class SkeletonPlugin implements Plugin
|
||||
{
|
||||
protected static string $name = 'skeleton-plugin';
|
||||
|
||||
public function getId(): string
|
||||
{
|
||||
return static::$name;
|
||||
return 'skeleton';
|
||||
}
|
||||
|
||||
public function register(Panel $panel): void
|
||||
|
||||
@@ -12,7 +12,7 @@ class Skeleton implements Plugin
|
||||
{
|
||||
public function getId(): string
|
||||
{
|
||||
return 'skeleton-theme';
|
||||
return 'skeleton';
|
||||
}
|
||||
|
||||
public function register(Panel $panel): void
|
||||
|
||||
Reference in New Issue
Block a user