diff --git a/react/accessing-location-within-reach-router.md b/react/accessing-location-within-reach-router.md index 485f3db..b651316 100644 --- a/react/accessing-location-within-reach-router.md +++ b/react/accessing-location-within-reach-router.md @@ -6,7 +6,7 @@ The `location` prop which you may be used to having access to automatically is instead available through the [`Location`](https://reach.tech/router/api/Location) component. -```react +```javascript import React from 'react'; import { Location } from '@reach/router';