× SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://reports/' cannot be created in a document with origin 'http://localhost:3000' and URL code example
Example: error build react Failed to execute 'replaceState' on 'History': A history state object with URL 'file:///' cannot be created in a document with origin 'null' and URL
import { HashRouter, Route, Link, Switch } from 'react-router-dom';