diff --git a/FAQ.md b/FAQ.md index b7b2f527..8b5a55c1 100644 --- a/FAQ.md +++ b/FAQ.md @@ -94,8 +94,8 @@ const history = createHashHistory({ import { createMemoryHistory } from 'history' const history = createMemoryHistory({ - initialEntries={[ '/one', '/two', { pathname: '/three' } ]} - initialIndex={1} + initialEntries: [ '/one', '/two', { pathname: '/three' } ], + initialIndex: 1 }) ```