diff --git a/src/Admin/Pages/Pages/SubPages/Inframe.js b/src/Admin/Pages/Pages/SubPages/Inframe.js index cb261c41563de5b2e90c02bae286a72d449d690b..ddd5c407b7a3a8c2ad6e1b0b32e7dc101b3e4345 100644 --- a/src/Admin/Pages/Pages/SubPages/Inframe.js +++ b/src/Admin/Pages/Pages/SubPages/Inframe.js @@ -17,24 +17,21 @@ You should have received a copy of the GNU Affero General Public License along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/ import React from 'react'; -import Welcome from '../../../Components/Components/Welcome'; +import Welcome from '../../../Components/Components/Welcome'; -//This file show the charts - -export default class IframeComponent extends React.Component { - render() { - return ( - <div> - <Welcome/> - <div style={{height : '1em'}}></div> - <iframe - src='https://metabase.c3sl.ufpr.br/public/dashboard/8ada315d-b8df-4b18-b7fb-d06b0ac64623' - height='800px' - width='100%' - // allowTransparency={true} - frameBorder={0} - /> - </div> - ) - } +const IframeComponent = () => { + return ( + <div> + <Welcome /> + <div style={{ height: '1em' }}></div> + <iframe + src='https://metabase.c3sl.ufpr.br/public/dashboard/8ada315d-b8df-4b18-b7fb-d06b0ac64623' + height='800px' + width='100%' + // allowTransparency={true} + frameBorder={0} + /> + </div> + ) } +export default IframeComponent;