react-polygon icon indicating copy to clipboard operation
react-polygon copied to clipboard

Fix dynamic changing of n

Open Rishi8991 opened this issue 5 years ago • 0 comments

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.

Rishi8991 avatar Apr 15 '20 22:04 Rishi8991