Why vtkGenericRenderWindow keeps creating 2 canvas?

I was working normally with vtk.js but today when I created a new project, I don’t know why when I render my renderwindow, it creates two canvas like in the code sandbox below

brainRender get called twice… Just a react thing not vtk.js related.