Skip to content

Commit

Permalink
Reader: Return React elements within ReaderListManage (#94866)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaguiini authored Sep 25, 2024
1 parent 7d0cd52 commit e40b189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/reader/list-manage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,5 @@ function ReaderListEdit( props ) {
}

export default function ReaderListManage( props ) {
return props.isCreateForm ? ReaderListCreate() : ReaderListEdit( props );
return props.isCreateForm ? <ReaderListCreate /> : <ReaderListEdit { ...props } />;
}

0 comments on commit e40b189

Please sign in to comment.