Skip to content

Commit 2430c5e

Browse files
committed
fix: Fix missing component when using livewire test
1 parent 782f82a commit 2430c5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ExportServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ public function boot(): void
1616

1717
$this->publishAssets();
1818

19-
if (! $this->app->runningInConsole()) {
20-
Livewire::component('export-button', ExportButtonComponent::class);
21-
}
19+
Livewire::component('export-button', ExportButtonComponent::class);
2220
}
2321

2422
protected function publishAssets(): void

0 commit comments

Comments
 (0)