Fix code style

This commit is contained in:
Thomas Nordquist
2019-06-16 19:25:50 +02:00
parent 0ebb6f4424
commit 1884f3baae
3 changed files with 5 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ function ChartPreview(props: Props) {
const hasEnoughDataToDisplayDiagrams = props.treeNode.messageHistory.count() > 1
let preview = hasEnoughDataToDisplayDiagrams ? (
const addChartToPanelButton = hasEnoughDataToDisplayDiagrams ? (
<Tooltip title="Click to add to chart panel">
<ShowChart
ref={chartIconRef}
@@ -56,7 +56,7 @@ function ChartPreview(props: Props) {
return (
<span>
{preview}
{addChartToPanelButton}
<Popper open={open} anchorEl={chartIconRef.current} placement="left-end">
<Fade in={open} timeout={300}>
<Paper style={{ width: '300px' }}>