rn-perfect-sketch-canvas icon indicating copy to clipboard operation
rn-perfect-sketch-canvas copied to clipboard

When calling addPoints() I get: ERROR Warning: Encountered two children with the same key, `timestamp`. Keys should be unique...

Open Aveno opened this issue 10 months ago • 0 comments

I believe the id property that is generated via Date.now() in the addPoints implementation is causing this issue. If I change Ln99 to something like: "id: Date.now() + Math.random()," the error goes away.

Aveno avatar Apr 03 '24 00:04 Aveno