From 3784d4db8703db2a1c61c3ad37b9711d5fc5c553 Mon Sep 17 00:00:00 2001 From: Renard Date: Sat, 14 Sep 2019 14:38:11 -0300 Subject: Fixed menu --- src/App.js | 50 +++++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 23 deletions(-) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 0579156..551fed9 100644 --- a/src/App.js +++ b/src/App.js @@ -45,30 +45,34 @@ class App extends Component { const { boardList } = this.state; //const pathList = boardList.map(board => "/" + board.dir) return ( - - - B.a.I - Home - - - {boardList.map(board => board.board_type === 1 ? /{board.dir}/ - {board.name} : null)} - - - - - {boardList.map(board => board.board_type === 0 ? /{board.dir}/ - {board.name} : null)} - - + + + + B.a.I + Home + + + {boardList.map(board => board.board_type === 1 ? /{board.dir}/ - {board.name} : null)} + + + + + {boardList.map(board => board.board_type === 0 ? /{board.dir}/ - {board.name} : null)} + + + - - - - - - - - - + + + + + + + + + + + ); } } -- cgit v1.2.1-18-gbd029