Skip to content

Commit

Permalink
Remove unused explicit raising of error
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrlpld committed Mar 5, 2024
1 parent 4e78b7b commit 7c1b85d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions laces/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ def render_html(
`django.utils.safestring.SafeString` instance.
"""
context_data = self.get_context_data(parent_context)
# if context_data is None:
# raise TypeError("Expected a dict from get_context_data, got None")

template = get_template(self.template_name)
return template.render(context_data)

Expand Down

0 comments on commit 7c1b85d

Please sign in to comment.