From a6a30eee6ae0922c13aa0bc31a26a0a6c85be203 Mon Sep 17 00:00:00 2001 From: NumminorihSF Date: Sat, 5 Aug 2017 15:18:53 +0700 Subject: [PATCH] Switch example's lang to jsx in readme 1 example is written in jsx language but marked as js. It cause invalid code highlighting (a bit). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 855cb66..2a9679f 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ initOpbeat({ If you use react-router (v2 or v3), use `wrapRouter` to enable routing instrumentation. See the [transactions api](#transactions-api) for examples without react-router. -```js +```jsx harmony import initOpbeat from 'opbeat-react' import { Router, Route } from 'react-router' import { wrapRouter } from 'opbeat-react' // enable react-router instrumentation