File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed
react-charts/src/victory/components/ChartLegend/examples
react-core/src/components/Nav Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ import {
291291import { getResizeObserver } from ' @patternfly/react-core' ;
292292// import '@patternfly/patternfly/patternfly-charts.css'; // For mixed blend mode
293293
294- <<<<<< < HEAD
295294const 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 ();
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "assumeChangesOnlyAffectDirectDependencies" : true ,
44 "jsx" : " react-jsx" ,
5- "jsxImportSource" : " react" ,
65 "lib" : [
76 " es2015" ,
87 " dom"
You can’t perform that action at this time.
0 commit comments