From 27b40fbdcbdc869bfe77a26999c865b4785e7774 Mon Sep 17 00:00:00 2001 From: Priscila Oliveira Date: Sun, 20 Jan 2019 13:30:19 +0100 Subject: [PATCH] refactor: changed card styleS --- src/webui/components/DetailContainer/index.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/webui/components/DetailContainer/index.js b/src/webui/components/DetailContainer/index.js index f6d331706..708d4e3ce 100644 --- a/src/webui/components/DetailContainer/index.js +++ b/src/webui/components/DetailContainer/index.js @@ -13,6 +13,7 @@ import Tabs from '@material-ui/core/Tabs/index'; import Tab from '@material-ui/core/Tab/index'; import { Content } from './styles'; import Dependencies from '../Dependencies'; +import UpLinks from '../UpLinks'; class DetailContainer extends Component { state = { @@ -43,9 +44,9 @@ class DetailContainer extends Component { {tabPosition === 0 && this.renderReadme(readMe)} - {tabPosition === 1 && this.renderDependencies()} - {tabPosition === 2 && this.renderVersions()} - {tabPosition === 3 && this.renderReadme(readMe)} + {tabPosition === 1 && } + {tabPosition === 2 && } + {tabPosition === 3 && } ); @@ -57,10 +58,6 @@ class DetailContainer extends Component { return ; }; - renderVersions = () => ; - - renderDependencies = () => ; - handleChange = (event: any, tabPosition: number) => { event.preventDefault(); this.setState({ tabPosition });