Skip to content

Commit bab2820

Browse files
committed
Fix renderTurboStream return
1 parent d155443 commit bab2820

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fetch_response.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class FetchResponse {
6060
} else {
6161
console.warn('You must set `window.Turbo = Turbo` to automatically process Turbo Stream events with request.js')
6262
}
63+
return
6364
}
6465

6566
return Promise.reject(new Error(`Expected a Turbo Stream response but got "${this.contentType}" instead`))

0 commit comments

Comments
 (0)