From 4f110909738bbaf224d67777b92c44c002208579 Mon Sep 17 00:00:00 2001 From: David Judik Date: Mon, 29 May 2017 16:36:51 +0200 Subject: [PATCH] fix(FAQ): update createMemoryHistory config --- FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }) ```