Skip to content

Commit 5a76c01

Browse files
committed
minor changes
1 parent f9b5ce0 commit 5a76c01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-charts/src/victory/components/ChartTooltip/examples/ChartTooltipCssOverflow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ interface PetData {
1313
}
1414

1515
export const ChartTooltipCssOverflow: React.FunctionComponent = () => {
16-
const sheet = (() => {
16+
const sheet = () => {
1717
const style = document.createElement('style');
1818
document.head.appendChild(style);
1919
return style.sheet;
20-
})();
20+
};
2121

2222
sheet.insertRule(
2323
'.ws-react-charts-tooltip-overflow { margin-left: 50px; margin-top: 50px; height: 135px; }',

0 commit comments

Comments
 (0)