Skip to content
Snippets Groups Projects
Commit f79654fd authored by Marius Nåvli Sjølie's avatar Marius Nåvli Sjølie Committed by Carl Valdemar Ebbesen
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent d08c4005
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ const OverviewPage = () => {
{isLoading ? <ClipLoader loading={isLoading}/> :
slug==="/overview" ?<StatsBox content={data as Languages ? Object.entries(data as Languages).map(element => `${element[0]}: ${element[1]} %`): ["Loading ..."] } />
:null}
<h2 style={{marginTop: "30px"}}>{slug=== "/overview" ?"More info:": "Choose display from:"}</h2>
<h2 style={{marginTop: "30px"}}>{slug=== "/overview" ?"More info:": "Choose display form:"}</h2>
<div className={style.buttonWrapper}>
<button className={style.button} onClick= {() => history.push(slug=== "/overview" ? "/issue" : `${slug}graph`)}>
{slug=== "/overview" ? "Issues" : "Graph"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment