Skip to content

Commit 50e0183

Browse files
committed
rebase and review comments
1 parent d7f30fa commit 50e0183

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

packages/react-charts/src/victory/components/ChartLegend/examples/ChartLegend.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ import {
291291
import { getResizeObserver } from '@patternfly/react-core';
292292
// import '@patternfly/patternfly/patternfly-charts.css'; // For mixed blend mode
293293

294-
<<<<<<< HEAD
295294
const InteractiveLegendChart = () => {
296295
const containerRef = useRef(null);
297296
const [hiddenSeries, setHiddenSeries] = useState(new Set());
@@ -357,18 +356,11 @@ const InteractiveLegendChart = () => {
357356
// Checks if any data series is visible
358357
const isDataAvailable = () => hiddenSeries.size !== series.length;
359358

360-
<<<<<<< HEAD
361359
// Set chart width per current window size
362-
React.useEffect(() => {
360+
useEffect(() => {
363361
const observer = getResizeObserver(containerRef.current, () => {
364362
if (containerRef.current?.clientWidth) {
365363
setWidth(containerRef.current.clientWidth);
366-
=======
367-
const container = cloneElement(
368-
this.cursorVoronoiContainer,
369-
{
370-
disable: !this.isDataAvailable()
371-
>>>>>>> 19a2ed0a5 (charts changes)
372364
}
373365
});
374366
return () => observer();

packages/react-core/src/components/Nav/NavList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class NavList extends Component<NavListProps> {
2727
context!: React.ContextType<typeof NavContext>;
2828
static defaultProps: NavListProps = {
2929
backScrollAriaLabel: 'Scroll back',
30-
forwardScrollAriaLabel: 'Scroll forward'
30+
forwardScrollAriaLabel: 'Scroll foward'
3131
};
3232
private direction = 'ltr';
3333

packages/tsconfig.base.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"assumeChangesOnlyAffectDirectDependencies": true,
44
"jsx": "react-jsx",
5-
"jsxImportSource": "react",
65
"lib": [
76
"es2015",
87
"dom"

0 commit comments

Comments
 (0)