react-scrollable-anchor
react-scrollable-anchor copied to clipboard
Remove hash not working
import { removeHash } from 'react-scrollable-anchor'
// clear URL hash removeHash()
I tried placing this inside parent component, child component, App.js. Its not working. Where should this be placed? How to use this?
put it inside componentDidMount function
For me it doesn't work