Skip to content

Commit d645285

Browse files
committed
Revert example fiddling
1 parent 961afe7 commit d645285

File tree

4 files changed

+3710
-5322
lines changed

4 files changed

+3710
-5322
lines changed

examples/messaging/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^5.11.4",
7-
"@testing-library/react": "^11.1.0",
8-
"@testing-library/user-event": "^12.1.10",
96
"react": "link:../../node_modules/react",
107
"react-app-polyfill": "^1.0.2",
118
"react-dom": "link:../../node_modules/react-dom",

examples/messaging/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
InfiniteScrollPaginator,
1111
MessageInput,
1212
MessageInputFlat,
13-
MessageList as TheMessageList,
13+
MessageList,
1414
Thread,
1515
Window,
1616
} from 'stream-chat-react';
@@ -61,7 +61,7 @@ const App = () => (
6161
<Channel>
6262
<Window>
6363
<ChannelHeader />
64-
<TheMessageList />
64+
<MessageList />
6565
<MessageInput Input={MessageInputFlat} focus />
6666
</Window>
6767
<Thread />

examples/messaging/src/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ import ReactDOM from 'react-dom';
66
import App from './App';
77
import * as serviceWorker from './serviceWorker';
88

9-
ReactDOM.render(
10-
<React.StrictMode>
11-
<App />
12-
</React.StrictMode>,
13-
document.getElementById('root'),
14-
);
9+
ReactDOM.render(<App />, document.getElementById('root'));
1510

1611
// If you want your app to work offline and load faster, you can change
1712
// unregister() to register() below. Note this comes with some pitfalls.

0 commit comments

Comments
 (0)