Skip to content

Commit

Permalink
address code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Feb 23, 2024
1 parent dffd939 commit f893dc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ROS2RosbagDescriptionDialog(props) {
};

useEffect(() => {
setDescription(props.ROS2RosbagRow.description = props.ROS2RosbagRow.description || "");
setDescription(props.ROS2RosbagRow.description);
}, [props.ROS2RosbagRow.description]);

const saveDescHandler = (event) => {
Expand Down

0 comments on commit f893dc8

Please sign in to comment.