Skip to content

Commit 6982ff0

Browse files
committed
Code cleanup of SurvivalUtil
1 parent 8a07016 commit 6982ff0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/pages/resultsView/survival/SurvivalUtil.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import _ from 'lodash';
44
import { ClinicalAttribute } from 'cbioportal-ts-api-client';
55
import { Dictionary } from 'lodash';
66
import { calculateLogConfidenceIntervals } from './SurvivalHelper';
7-
import { getTextWidth } from 'cbioportal-frontend-commons';
87

98
export type ScatterData = {
109
x: number;
@@ -754,6 +753,5 @@ export function calculateLabelWidth(
754753
document.body.appendChild(tempElement);
755754
const labelWidth = tempElement.offsetWidth;
756755
document.body.removeChild(tempElement);
757-
console.log(labelWidth);
758756
return labelWidth;
759757
}

0 commit comments

Comments
 (0)