Skip to content

Commit deef4f0

Browse files
committed
Fix syntax highlighting
1 parent 4a9f0d1 commit deef4f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/RealtimeDataProvider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const App = () => (
185185

186186
If you're using another transport for real-time messages (WebSockets, long polling, GraphQL subscriptions, etc.), you'll have to implement `subscribe`, `unsubscribe`, and `publish` yourself in your `dataProvider`. As an example, here is an implementation using a local variable, that `ra-realtime` uses in tests:
187187

188-
```ts
188+
```jsx
189189
let subscriptions = [];
190190

191191
const dataProvider = {

0 commit comments

Comments
 (0)