Skip to content

Commit 83056da

Browse files
authored
Update JetstreamServiceProvider.php (#1376)
1 parent 375e18a commit 83056da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JetstreamServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function boot()
8888
]);
8989
});
9090

91-
if (config('jetstream.stack') === 'inertia') {
91+
if (config('jetstream.stack') === 'inertia' && class_exists(Inertia::class)) {
9292
$this->bootInertia();
9393
}
9494
}

0 commit comments

Comments
 (0)