Ok I get this NS_BINDING_ABORTED
error in Firefox. So in my react component I want to redirect to another page when the user opens this page.
Here's the code:
import { useEffect } from 'react'
const Redirect = function () {
useEffect(() => {
window.location.replace('https://google.com')
}, [])
return null
}
export default Redirect
BTW it works perfectly fine in Google Chrome