Hashrouter is not recommended for web applications. It is also kind of tacky to always have a '#' in the URL. Stop using it for the webapp.
The extension will not work with BrowserRouter since it is navigating files. Continue to use hash router for the extension (since the user typically does not actually see the URL for the extension).