From 1f414009af718dfba96b5096a51a92ae4b594d7f Mon Sep 17 00:00:00 2001 From: JibayMcs Date: Wed, 17 Apr 2024 07:23:35 +0000 Subject: [PATCH] Fix styling --- config/filament-tour.php | 4 ++-- src/Tour/HasTour.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/filament-tour.php b/config/filament-tour.php index ea57973..89bf70e 100644 --- a/config/filament-tour.php +++ b/config/filament-tour.php @@ -3,9 +3,9 @@ // config for JibayMcs/FilamentTour return [ - 'only_visible_once' => true, + 'only_visible_once' => true, 'enable_css_selector' => false, - 'tour_prefix_id' => 'tour_', + 'tour_prefix_id' => 'tour_', 'highlight_prefix_id' => 'highlight_', ]; diff --git a/src/Tour/HasTour.php b/src/Tour/HasTour.php index 46a3758..f4319b9 100644 --- a/src/Tour/HasTour.php +++ b/src/Tour/HasTour.php @@ -22,7 +22,7 @@ public function constructTours($class): array $this->setRoute($tour->getRoute()); } - $steps = json_encode(collect($tour->getSteps())->mapWithKeys(function (Step $step, $item) use ($tour, $prefixId) { + $steps = json_encode(collect($tour->getSteps())->mapWithKeys(function (Step $step, $item) use ($tour) { $data[$item] = [ 'uncloseable' => $step->isUncloseable(),