Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use in instead of get
  • Loading branch information
Archmonger committed Oct 30, 2021
commit afe643ed4d515b797ebb62800172a5fcf1ee49ba
2 changes: 1 addition & 1 deletion src/django_idom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def _register_component(full_component_name: str) -> None:
if IDOM_REGISTERED_COMPONENTS.get(full_component_name):
if full_component_name in IDOM_REGISTERED_COMPONENTS:
return

module_name, component_name = full_component_name.rsplit(".", 1)
Expand Down