Undo Prettier auto-formatting

This commit is contained in:
Marcel Michau
2017-12-14 18:07:29 +02:00
parent 2bcad76d60
commit 89be90ad82

View File

@ -5,6 +5,6 @@ Pass a second argument to simulate a link click (`true` - default) or an HTTP re
```js
const redirect = (url, asLink = true) =>
asLink ? (window.location.href = url) : window.location.replace(url);
asLink ? window.location.href = url : window.location.replace(url);
// redirect('https://google.com')
```