diff --git a/app/src/frontend/building/data-components/like-data-entry.tsx b/app/src/frontend/building/data-components/like-data-entry.tsx index cafc6868..201f6e83 100644 --- a/app/src/frontend/building/data-components/like-data-entry.tsx +++ b/app/src/frontend/building/data-components/like-data-entry.tsx @@ -32,7 +32,7 @@ const LikeDataEntry: React.FunctionComponent = (props) => { // TODO: remove id="like" name="like" checked={!!props.building_like} disabled={props.mode === 'view'} - onChange={props.handleLike} + onChange={props.onLike} />