From 051ee314e9169c503b7031aaa720ac93fa493598 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 25 Jul 2017 11:23:21 +1000 Subject: [PATCH] Also update Router.push example with object URL (#2639) Following on from https://github.com/zeit/next.js/commit/f8950e9b4c4c25f22047f5b019a66bf77bc1457d --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index af0e9563..3f4a863c 100644 --- a/readme.md +++ b/readme.md @@ -411,7 +411,7 @@ You can use an URL object the same way you use it in a `` component to `pu import Router from 'next/router' const handler = () => Router.push({ - pathname: 'about', + pathname: '/about', query: { name: 'Zeit' } })