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/App.js | |
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/App.js')
-rw-r--r-- | src/App.js | 8 |
1 files changed, 4 insertions, 4 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> |