chore: Rename renderPanel to renderPanelBody

This commit is contained in:
Johannes Schill 2019-02-12 12:27:49 +01:00
parent d5918498da
commit c3965e332d
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ export class PanelChrome extends PureComponent<Props, State> {
);
}
renderPanel = (width: number, height: number): JSX.Element => {
renderPanelBody = (width: number, height: number): JSX.Element => {
const { panel } = this.props;
const { refreshCounter, timeRange } = this.state;
const { datasource, targets } = panel;
@ -191,7 +191,7 @@ export class PanelChrome extends PureComponent<Props, State> {
scopedVars={panel.scopedVars}
links={panel.links}
/>
{this.renderPanel(width, height)}
{this.renderPanelBody(width, height)}
</div>
);
}}