react-scrollable-anchor icon indicating copy to clipboard operation
react-scrollable-anchor copied to clipboard

Remove hash not working

Open sweetaprospa opened this issue 7 years ago • 2 comments

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?

sweetaprospa avatar Sep 17 '19 02:09 sweetaprospa

put it inside componentDidMount function

ViableClanMember avatar Oct 16 '19 16:10 ViableClanMember

For me it doesn't work

anastasijakundas avatar Dec 20 '19 09:12 anastasijakundas