We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73bf02 commit cb00da1Copy full SHA for cb00da1
src/Events/LivewireDispatcher.php
@@ -20,7 +20,11 @@ public function handle(RequestHandled $handled)
20
{
21
$identifier = 'NativePHP Livewire Dispatcher';
22
$html = $handled->response->getContent();
23
- $originalContent = $handled->response->original;
+ $originalContent = $handled->response->original ?? null;
24
+
25
+ if (! $originalContent) {
26
+ return;
27
+ }
28
29
if (! $handled->response->isSuccessful()) {
30
return;
0 commit comments