From 82de4d85d847ad7466f179246223eaa57c5ffa69 Mon Sep 17 00:00:00 2001 From: Luis Felipe Risch <lfr20@inf.ufpr.br> Date: Mon, 5 Oct 2020 15:40:07 -0300 Subject: [PATCH] Added a comment --- .../Components/Components/DisplayContent.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/Admin/Components/Components/DisplayContent.js b/src/Admin/Components/Components/DisplayContent.js index 423c3f50..c82f9bd2 100644 --- a/src/Admin/Components/Components/DisplayContent.js +++ b/src/Admin/Components/Components/DisplayContent.js @@ -19,24 +19,30 @@ along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/> import React from 'react'; import Inframe from './Inframe'; import Welcome from './Welcome'; +import NoteVariables from './NoteVariables'; // This file manuipulate the content that will be displayed in the right part of the screen +// its not optmized yet, but when all the section were completed i intend to create an array with the contents const DisplayContent = ( props ) => { - if(props.selectedIcon === 0){ + if(props.i === 0){ return( <Welcome/> ) - } else if(props.selectedIcon === 16){ - return( + } else if(props.i === 16){ + return ( <Inframe/> - ); + ) + } else if(props.i === 9) { + return( + <NoteVariables/> + ) } else { return( <div> - Essa sessão está em desenvolvimento + Essa sessão está em desenvolvimento </div> - ); + ) } } -- GitLab