Skip to content

Commit 026e4c4

Browse files
committed
cleanup code
1 parent 46a4ec2 commit 026e4c4

File tree

1 file changed

+1
-9
lines changed
  • static/app/views/dashboards/widgetCard

1 file changed

+1
-9
lines changed

static/app/views/dashboards/widgetCard/chart.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -608,20 +608,12 @@ function LoadingScreen({
608608
<StyledTransparentLoadingMask visible={loading}>
609609
<LoadingIndicator mini />
610610
{showLoadingText && (
611-
<LoadingText id="loading-text">
612-
{t('Turning data into pixels - almost ready')}
613-
</LoadingText>
611+
<p id="loading-text">{t('Turning data into pixels - almost ready')}</p>
614612
)}
615613
</StyledTransparentLoadingMask>
616614
);
617615
}
618616

619-
const LoadingText = styled('p')`
620-
text-align: center;
621-
position: relative;
622-
z-index: 500000;
623-
`;
624-
625617
const LoadingPlaceholder = styled(({className}: PlaceholderProps) => (
626618
<Placeholder height="200px" className={className} />
627619
))`

0 commit comments

Comments
 (0)