mirror of
https://github.com/jbranchaud/til
synced 2026-01-06 16:48:01 +00:00
Fix the code block
This commit is contained in:
@@ -6,7 +6,7 @@ The `location` prop which you may be used to having access to automatically
|
|||||||
is instead available through the
|
is instead available through the
|
||||||
[`Location`](https://reach.tech/router/api/Location) component.
|
[`Location`](https://reach.tech/router/api/Location) component.
|
||||||
|
|
||||||
```react
|
```javascript
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Location } from '@reach/router';
|
import { Location } from '@reach/router';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user