diff options
author | Renard | 2019-09-11 22:28:39 -0300 |
---|---|---|
committer | Renard | 2019-09-11 22:28:39 -0300 |
commit | 0a5b872a0762467697d3c662cc41c922294505ff (patch) | |
tree | 9a26916fed3fd107b4703c103230003ba19040fa /src | |
parent | 889448bad7ac1655f878d66364ff3dea366a5cfc (diff) | |
download | bai-client-0a5b872a0762467697d3c662cc41c922294505ff.tar.gz bai-client-0a5b872a0762467697d3c662cc41c922294505ff.tar.xz bai-client-0a5b872a0762467697d3c662cc41c922294505ff.zip |
Lint: Fixing warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/App.js | 8 | ||||
-rw-r--r-- | src/BBSThread.js | 4 | ||||
-rw-r--r-- | src/Board.js | 4 | ||||
-rw-r--r-- | src/Home.js | 2 |
4 files changed, 9 insertions, 9 deletions
@@ -35,9 +35,9 @@ class App extends Component { if (!this.state.isLoaded) { if (!this.state.isLoaded) { return ( - <Loader active centered > + <Loader active centered="true"> Cargando ... - </Loader> + </Loader > ) } } @@ -51,12 +51,12 @@ class App extends Component { <Menu.Item as={Link} to="/"><Icon name='home' /> Home</Menu.Item> <Dropdown text='BBS' className='link item'> <Dropdown.Menu> - {boardList.map(board => board.board_type === 1 ? <Dropdown.Item as={Link} to={`/board/${board.dir}`}>/{board.dir}/ - {board.name}</Dropdown.Item> : null)} + {boardList.map(board => board.board_type === 1 ? <Dropdown.Item key={board.dir} as={Link} to={`/board/${board.dir}`}>/{board.dir}/ - {board.name}</Dropdown.Item> : null)} </Dropdown.Menu> </Dropdown> <Dropdown text='Imageboard' className='link item'> <Dropdown.Menu> - {boardList.map(board => board.board_type === 0 ? <Dropdown.Item as={Link} to={`/board/${board.dir}`}>/{board.dir}/ - {board.name}</Dropdown.Item> : null)} + {boardList.map(board => board.board_type === 0 ? <Dropdown.Item key={board.dir} as={Link} to={`/board/${board.dir}`}>/{board.dir}/ - {board.name}</Dropdown.Item> : null)} </Dropdown.Menu> </Dropdown> </Menu> diff --git a/src/BBSThread.js b/src/BBSThread.js index b65236e..bac1b9a 100644 --- a/src/BBSThread.js +++ b/src/BBSThread.js @@ -38,9 +38,9 @@ class BBSThread extends Component { if (isLoading) { return ( - <Loader active centered > + <Loader active centered="true"> Cargando ... - </Loader> + </Loader > ) } diff --git a/src/Board.js b/src/Board.js index a9293d7..759079b 100644 --- a/src/Board.js +++ b/src/Board.js @@ -43,9 +43,9 @@ class Board extends Component { if (!isLoaded) { return ( - <Loader active centered > + <Loader active centered="true" > Cargando ... - </Loader> + </Loader > ) } diff --git a/src/Home.js b/src/Home.js index 587212d..bda02e6 100644 --- a/src/Home.js +++ b/src/Home.js @@ -46,7 +46,7 @@ class Home extends Component { render() { if (!this.state.isLoaded) { return ( - <Loader active centered > + <Loader active centered="true" > Cargando ... </Loader> ) |