Skip to content

Commit 8853887

Browse files
committed
Fixed a missing argument bug when using RENDER = False
1 parent 6211e31 commit 8853887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react/render_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def render(self, path, props=None, to_static_markup=False, request_headers=None,
3030
serialized_props = None
3131

3232
if not conf.settings.RENDER:
33-
return RenderedComponent('', serialized_props)
33+
return RenderedComponent('', serialized_props, {})
3434

3535
options = {
3636
'path': path,

0 commit comments

Comments
 (0)