Skip to content

Commit 013b291

Browse files
Merge pull request #55 from mkeremcansev/main
Fix `json_decode` type error
2 parents 42c2665 + 28f785e commit 013b291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Livewire/CustomFieldsForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function mount(): void
3232

3333
$this->customFields = config('filament-edit-profile.custom_fields');
3434

35-
$this->form->fill(json_decode($data['custom_fields'], true) ?? []);
35+
$this->form->fill($data['custom_fields'] ?? []);
3636
}
3737

3838
public function form(Form $form): Form

0 commit comments

Comments
 (0)