mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Minor docs update
This commit is contained in:
parent
0368a98888
commit
b2e9ed673e
@ -867,7 +867,7 @@ The best thing you can do to make your code extensible is to use `Injector` earl
|
||||
|
||||
First, let's break up the list into smaller components.
|
||||
|
||||
*myapp/client/components/notesList.js*
|
||||
*myapp/client/components/NotesList.js*
|
||||
```js
|
||||
import React from 'react';
|
||||
import { inject } from 'lib/Injector';
|
||||
@ -885,7 +885,7 @@ export default inject(
|
||||
})
|
||||
)(NotesList);
|
||||
```
|
||||
*myapp/client/components/notesListItem.js*
|
||||
*myapp/client/components/NotesListItem.js*
|
||||
```js
|
||||
import React from 'react';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user