Skip to content

Commit a80e938

Browse files
38elementsForsakenHarmony
authored andcommitted
Update Custom History section in README.md (preactjs#321)
1 parent ef8983a commit a80e938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ It's possible to use alternative history bindings, like `/#!/hash-history`:
219219
```js
220220
import { h } from 'preact';
221221
import Router from 'preact-router';
222-
import createHashHistory from 'history/createHashHistory';
222+
import { createHashHistory } from 'history';
223223

224224
const Main = () => (
225225
<Router history={createHashHistory()}>

0 commit comments

Comments
 (0)