react-polygon
react-polygon copied to clipboard
Fix dynamic changing of n
Hi, I came across an issue where if I want to dynamically change the value of n by the input of a form, then I get an error message as oldPoints do not exist or are not the same length as the newPoints. The above fix worked for me.