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 766ca41 commit bbf3948Copy full SHA for bbf3948
src/django_idom/templatetags/idom.py
@@ -20,7 +20,7 @@
20
def idom_component(_component_id_, **kwargs):
21
_register_component(_component_id_)
22
23
- class_ = kwargs.pop("class","")
+ class_ = kwargs.pop("class", "")
24
json_kwargs = json.dumps(kwargs, separators=(",", ":"))
25
26
return {
@@ -29,7 +29,7 @@ def idom_component(_component_id_, **kwargs):
29
"idom_web_modules_url": IDOM_WEB_MODULES_URL,
30
"idom_mount_uuid": uuid4().hex,
31
"idom_component_id": _component_id_,
32
- "idom_component_params": urlencode({"kwargs": json_kwargs})
+ "idom_component_params": urlencode({"kwargs": json_kwargs}),
33
}
34
35
0 commit comments