Skip to content

Commit 73c479b

Browse files
committed
fix: filamenet v5
1 parent d2c6548 commit 73c479b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Concerns/IsJourney.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function initialize(?string $step): void
7979
// $this->session->meta(['reached-step' => $this->reachedStep]);
8080
// }
8181
//
82-
public function refresh()
82+
public function refresh(): void
8383
{
8484
// $stepComponent = $this->getStepComponent($this->current, $this->getStepData());
8585
// $this->stepInfo = $stepComponent->getStepInfo();

src/OnboardingPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ private function registerRoutes(Panel $panel): void
8585
foreach ($this->getJourneys() as $journey) {
8686
$instance = new $journey;
8787
foreach ($instance->steps() as $step) {
88-
$name = app(ComponentRegistry::class)->getName($step);
89-
Livewire::component($name, $step);
88+
// $name = app(Compone::class)->getName($step);
89+
Livewire::component($step, $step);
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)