Skip to content

Commit

Permalink
Fixed duplicate team creation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjude committed Aug 3, 2024
1 parent d6cbc18 commit 6ac19af
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stubs/App/Providers/Filament/AppPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
use App\Filament\Pages\CreateTeam;
use App\Filament\Pages\EditProfile;
use App\Filament\Pages\EditTeam;
use App\Listeners\CreatePersonalTeam;
use App\Listeners\SwitchTeam;
use App\Models\Team;
use Filament\Events\Auth\Registered;
use Filament\Events\TenantSet;
use Filament\Facades\Filament;
use Filament\Http\Middleware\Authenticate;
Expand Down Expand Up @@ -125,14 +123,6 @@ public function boot()
*/
Jetstream::$registersRoutes = false;

/**
* Listen and create personal team for new accounts
*/
Event::listen(
Registered::class,
CreatePersonalTeam::class,
);

/**
* Listen and switch team if tenant was changed
*/
Expand Down

0 comments on commit 6ac19af

Please sign in to comment.