After upgrade to the newest version and adding ref to the Chart tag all works good, that means there is no more error in component.
From: Dan Onoshko @.>
Sent: Wednesday, September 28, 2022 1:50:30 PM
To: reactchartjs/react-chartjs-2 @.>
Cc: Aleksandra Sroka @.>; Mention @.>
Subject: Re: [reactchartjs/react-chartjs-2] [Bug]: Canvas is already in use. Chart with ID '0' must be destroyed before the canvas can be reused. (Issue #1037)