From 224c46ded902cc81008fdd8d1fee98a5581bbc3e Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 30 Apr 2017 18:47:15 +0800 Subject: [PATCH] fix typo --- components/upload/__tests__/upload.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/upload/__tests__/upload.test.js b/components/upload/__tests__/upload.test.js index 4e058bfbe4..6b381d1432 100644 --- a/components/upload/__tests__/upload.test.js +++ b/components/upload/__tests__/upload.test.js @@ -7,7 +7,7 @@ describe('Upload', () => { // https://github.com/react-component/upload/issues/36 it('should get refs inside Upload in componentDidMount', () => { let ref; - class App extends React.Comoponent { + class App extends React.Component { componentDidMount() { ref = this.refs.input; }