Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Commit 3cefa08

Browse files
committed
fix diff lag and some styles
1 parent 3fe054b commit 3cefa08

File tree

5 files changed

+142
-165
lines changed

5 files changed

+142
-165
lines changed

jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// This file is needed because it is used by vscode and other tools that
2+
// call `jest` directly. However, unless you are doing anything special
3+
// do not edit this file
4+
5+
const standard = require('@grafana/toolkit/src/config/jest.plugin.config');
6+
7+
// This process will use the same config that `yarn test` is using
8+
module.exports = standard.jestConfig();

src/SimplePanel.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export const SimplePanel: React.FC<Props> = ({ options, data, width, height }) =
1313
const styles = getStyles();
1414
return (
1515
<>
16-
<div className={styles.app}>
17-
<div className={`${styles.appContainer} flamegraph-wrapper`}>
18-
<FlameGraphRenderer options={options} data={data} width={width} height={height} />
16+
<div className={styles.app}>
17+
<div className={`${styles.appContainer} flamegraph-wrapper`}>
18+
<FlameGraphRenderer options={options} data={data} width={width} height={height} />
19+
</div>
1920
</div>
20-
</div>
2121
</>
2222
);
2323
};

0 commit comments

Comments
 (0)