[react] fix: Use replaceState in hash. See #216
This commit is contained in:
parent
dbf49fd8ff
commit
48cdfef5f6
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { useMemo, useEffect } from 'react'
|
|||
/*
|
||||
* Set up the atom
|
||||
*/
|
||||
const urlAtom = atomWithHash('s', {})
|
||||
const urlAtom = atomWithHash('s', { setHash: 'replaceState' })
|
||||
|
||||
/**
|
||||
* Url state backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue