Skip to content

Commit 7149ade

Browse files
wodinvonovak
authored andcommitted
Fix formatting/quoting in last example (react-navigation#301)
1 parent 257548c commit 7149ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/blog/2018-11-17-react-navigation-3.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Now that the core of React Navigation can be used outside of React Native, we ca
177177
Here is an example web app which demonstrates the new `createBrowserApp` container and the built-in `Link` component:
178178

179179

180-
```js
180+
```jsx
181181
import { createSwitchNavigator } from "@react-navigation/core";
182182
import { createBrowserApp, Link } from "@react-navigation/web";
183183

@@ -213,7 +213,7 @@ export default App;
213213
```
214214
215215
The above `Link` tag will render to:
216-
`<a href=``"``/profile/Brent?view=photos``"``>Brent's Photos</a>`
216+
`<a href="/profile/Brent?view=photos">Brent's Photos</a>`
217217
218218
See a simple web app with Create React App [here](https://github.com/react-navigation/example-web). Or take a look at [this razzle app](https://github.com/react-navigation/web-server-example) for a more complicated example including server rendering.
219219

0 commit comments

Comments
 (0)