Skip to content

Commit

Permalink
avoid error in anchor watch dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Jan 8, 2025
1 parent 611e77c commit 7148a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/components/AnchorWatchDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const WatchDialog=(props)=> {
const [distance,setDistance]=useState(0);
const dialogContext=useDialogContext();
const computeRefPoint=(sv,fromCenter)=>{
let cv={radius,bearing,distance,refPoint};
let cv={radius,bearing,distance};
if (fromCenter){
cv.refPoint=MapHolder.getCenter();
}
Expand Down

0 comments on commit 7148a7c

Please sign in to comment.