Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AEM5299 committed Jun 13, 2024
1 parent f483f58 commit 3592a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/PendingTurboStreamResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private function contentAsRendering()
*/
public function toResponse($request)
{
if (! in_array($this->useAction, ['remove', 'refresh']) && ! $this->partialView && ! $this->inlineContent) {
if (! in_array($this->useAction, ['remove', 'refresh']) && ! $this->partialView && $this->inlineContent === null) {
throw TurboStreamResponseFailedException::missingPartial();
}

Expand Down

0 comments on commit 3592a34

Please sign in to comment.