Skip to content

Commit

Permalink
touchup: only set topic.description if changed
Browse files Browse the repository at this point in the history
  • Loading branch information
keyserj committed Oct 26, 2023
1 parent e562b60 commit aaece48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web/topic/components/Surface/TopicDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const TopicDetails = () => {
<form
onBlur={(event) => {
void handleSubmit((data) => {
if (topic.description === data.description) return;
setTopicDetails(data.description);
})(event);
}}
Expand Down

0 comments on commit aaece48

Please sign in to comment.