imageUrlimageUrl to the component ToolTool I want to run 2 useEffectsuseEffects, first one to reset the rotationDegreerotationDegree value inside the ToolTool component and the second one to re-run a function that displays an image. My problem now is the second useEffectuseEffect runs before the first one, so first it displays the image then it resets the rotationDegreerotationDegree to 00 and then it re-displays the images again because the rotationDegreerotationDegree just got changed. This is my code: https://hastebin.com/izakegodiw.typescript I hope I made myself clear. Thanks.Join the Discord to ask follow-up questions and connect with the community