Add cleanup function to the useEffect that sets position: relative on the main element, so the style is restored when the component unmounts. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Add cleanup function to the useEffect that sets position: relative on the main element, so the style is restored when the component unmounts. Signed-off-by: Bryan Frimin <bryan@getprobo.com>