@@ -397,7 +397,12 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
397397
398398 return (
399399 < ThemeProvider theme = { theme } >
400- < Panel ref = { ref } className = "ReactQueryDevtoolsPanel" { ...panelProps } >
400+ < Panel
401+ ref = { ref }
402+ className = "ReactQueryDevtoolsPanel"
403+ { ...panelProps }
404+ suppressHydrationWarning
405+ >
401406 < style
402407 dangerouslySetInnerHTML = { {
403408 __html : `
@@ -469,38 +474,44 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
469474 >
470475 < QueryKeys style = { { marginBottom : '.5rem' } } >
471476 < QueryKey
477+ suppressHydrationWarning
472478 style = { {
473479 background : theme . success ,
474480 opacity : hasFresh ? 1 : 0.3 ,
475481 } }
476482 >
477- fresh < Code > ({ hasFresh } )</ Code >
483+ fresh < Code suppressHydrationWarning > ({ hasFresh } )</ Code >
478484 </ QueryKey > { ' ' }
479485 < QueryKey
486+ suppressHydrationWarning
480487 style = { {
481488 background : theme . active ,
482489 opacity : hasFetching ? 1 : 0.3 ,
483490 } }
484491 >
485- fetching < Code > ({ hasFetching } )</ Code >
492+ fetching{ ' ' }
493+ < Code suppressHydrationWarning > ({ hasFetching } )</ Code >
486494 </ QueryKey > { ' ' }
487495 < QueryKey
496+ suppressHydrationWarning
488497 style = { {
489498 background : theme . warning ,
490499 color : 'black' ,
491500 textShadow : '0' ,
492501 opacity : hasStale ? 1 : 0.3 ,
493502 } }
494503 >
495- stale < Code > ({ hasStale } )</ Code >
504+ stale < Code suppressHydrationWarning > ({ hasStale } )</ Code >
496505 </ QueryKey > { ' ' }
497506 < QueryKey
507+ suppressHydrationWarning
498508 style = { {
499509 background : theme . gray ,
500510 opacity : hasInactive ? 1 : 0.3 ,
501511 } }
502512 >
503- inactive < Code > ({ hasInactive } )</ Code >
513+ inactive{ ' ' }
514+ < Code suppressHydrationWarning > ({ hasInactive } )</ Code >
504515 </ QueryKey >
505516 </ QueryKeys >
506517 < div
@@ -553,13 +564,15 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
553564 </ div >
554565 </ div >
555566 < div
567+ suppressHydrationWarning
556568 style = { {
557569 overflowY : 'auto' ,
558570 flex : '1' ,
559571 } }
560572 >
561573 { queries . map ( ( query , i ) => (
562574 < div
575+ suppressHydrationWarning
563576 key = { query . queryHash || i }
564577 onClick = { ( ) =>
565578 setActiveQueryHash (
@@ -577,6 +590,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
577590 } }
578591 >
579592 < div
593+ suppressHydrationWarning
580594 style = { {
581595 flex : '0 0 auto' ,
582596 width : '2rem' ,
@@ -599,6 +613,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
599613 { query . observers . length }
600614 </ div >
601615 < Code
616+ suppressHydrationWarning
602617 style = { {
603618 padding : '.5rem' ,
604619 } }
0 commit comments