diff --git a/src/Filament/ChaosResource/ChaosForms.php b/src/Filament/ChaosResource/ChaosForms.php index be39bda..ac2b823 100644 --- a/src/Filament/ChaosResource/ChaosForms.php +++ b/src/Filament/ChaosResource/ChaosForms.php @@ -70,13 +70,6 @@ public static function make(Form $form, array $schema, array $sideSections = []) public static function showSideSection(string $operation, array $sideSections, Form $form): bool { - $visibleSideSections = []; - foreach ($sideSections as $sideSection) { - if ($sideSection->isVisible()) { - //$visibleSideSections[] = $sideSection; - } - } - return ! empty($sideSections) || ($operation === 'edit' && (new $form->model)->usesTimestamps());