Skip to content

Commit

Permalink
Do not implement DeferrableProvider as it breaks the card
Browse files Browse the repository at this point in the history
  • Loading branch information
alies-dev committed Dec 6, 2021
1 parent 91ada4d commit 3d7a192
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/CardServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

namespace IDF\HtmlCard;

use Illuminate\Contracts\Support\DeferrableProvider;
use Laravel\Nova\Nova;
use Laravel\Nova\Events\ServingNova;
use Illuminate\Support\ServiceProvider;

class CardServiceProvider extends ServiceProvider implements DeferrableProvider
class CardServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
Expand All @@ -25,12 +24,4 @@ public function register(): void
{
$this->app->singleton(MarkdownConverter::class, LaravelMarkdownConverter::class);
}

/** @inheritDoc */
public function provides(): array
{
return [
MarkdownConverter::class,
];
}
}

0 comments on commit 3d7a192

Please sign in to comment.