# Blank page after router.push() in Next.js?

> How to fix the blank page you get after calling router.push() in Next.js: stop using return with it, just call router.push() on its own line and nothing else.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2022-04-11 | Topics: [Next.js](https://flaviocopes.com/tags/next/) | Canonical: https://flaviocopes.com/nextjs-blank-page-router-push/

When working in [Next.js](https://flaviocopes.com/nextjs/), do you see a blank page after you programmatically  call `router.push()`?

I had this problem too, and here's how I solved it.

Don't write `return` after calling `router.push()`, and don't use it as a return value.

Never use `return` when you use it.

For example, don't do this:

```js
router.push('/')
return
```

And don't do this: 

```js
return router.push('/')
```

Do this:

```js
router.push('/')
```
