Skip to content

Commit

Permalink
fix: clear name on update screen crash (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilolutz authored Mar 17, 2022
1 parent ccc018b commit 7125b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Person/Update/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ const PersonUpdate: React.FC<{ item: Person; globalSave: ActionSave }> = ({

return (
<Container>
{name && (
{item && (
<>
<Header>
<Row>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Title/Update/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ const TitleUpdate: React.FC<{ item: Title; globalSave: ActionSave }> = ({

return (
<Container>
{title && (
{item && (
<>
<div
style={{
Expand Down

0 comments on commit 7125b12

Please sign in to comment.