Skip to content

Commit b50fefb

Browse files
committed
Fix doc
1 parent 3bb7a86 commit b50fefb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/WithListContext.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ A common use case is to build a chart based on the list data. For instance, the
149149

150150
![Chart based on ListContext](./img/WithListContext-chart.png)
151151

152+
{% raw %}
152153
```jsx
153154
import { ListBase, WithListContext } from 'react-admin';
154155
import * as echarts from 'echarts';
@@ -210,6 +211,7 @@ const LineChart = ({ data }) => {
210211
return <div ref={chartRef} style={{ height: 300, width: 700 }} />;
211212
};
212213
```
214+
{% endraw %}
213215

214216
## Building a Refresh Button
215217

0 commit comments

Comments
 (0)