Skip to content

Commit

Permalink
form-designer: remove explicit Field cast
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf committed Nov 11, 2024
1 parent 470bd50 commit 2739b66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions form-designer/form_designer/components/form_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def set_name(self, name: str):
def update_field(self, field: Field):
if not self._user_has_access():
return
field.pop("options", None) # Remove options, relationship
field = Field(**field)
with rx.session() as session:
session.add(self.form)
session.commit()
Expand Down

0 comments on commit 2739b66

Please sign in to comment.