From da72d419682d4304005a44b1a9ce9d0489ddf3d7 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Thu, 22 Jul 2021 11:18:58 +0100 Subject: [PATCH] :bug: fix report error on channel type when creating new product --- src/Http/Livewire/Products/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/Products/Create.php b/src/Http/Livewire/Products/Create.php index 5b8ea24ca..559cc20fc 100644 --- a/src/Http/Livewire/Products/Create.php +++ b/src/Http/Livewire/Products/Create.php @@ -32,7 +32,7 @@ class Create extends AbstractBaseComponent public array $collection_ids = []; - public ?Channel $defaultChannel; + public ?Channel $defaultChannel = null; protected $listeners = ['productAdded'];