diff options
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> ) |