diff --git a/public/app/features/dashboard/dashgrid/EditorTabBody.tsx b/public/app/features/dashboard/dashgrid/EditorTabBody.tsx index 6228cbe6691..8f213533a1e 100644 --- a/public/app/features/dashboard/dashgrid/EditorTabBody.tsx +++ b/public/app/features/dashboard/dashgrid/EditorTabBody.tsx @@ -20,7 +20,7 @@ export interface EditorToolBarView { interface State { openView?: EditorToolBarView; - test: boolean; + fadeIn: boolean; } export class EditorTabBody extends PureComponent { @@ -29,12 +29,12 @@ export class EditorTabBody extends PureComponent { this.state = { openView: null, - test: false, + fadeIn: false, }; } componentDidMount() { - this.setState({ test: true }); + this.setState({ fadeIn: true }); } onToggleToolBarView = (item: EditorToolBarView) => { @@ -102,7 +102,8 @@ export class EditorTabBody extends PureComponent { render() { const { children, toolbarItems, main, heading } = this.props; - const { openView, test } = this.state; + const { openView, fadeIn } = this.state; + return ( <>
@@ -117,7 +118,7 @@ export class EditorTabBody extends PureComponent {
{openView && this.renderOpenView(openView)}
- + {children}