@tanstack/react-query-devtools 4.28.0 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1099,6 +1099,15 @@ const ReactQueryDevtoolsPanel$1 = /*#__PURE__*/React.forwardRef(function ReactQu
1099
1099
  marginRight: '.5em'
1100
1100
  }
1101
1101
  }, baseSort === 1 ? '⬆ Asc' : '⬇ Desc'), /*#__PURE__*/React.createElement(Button, {
1102
+ title: "Clear cache",
1103
+ "aria-label": "Clear cache",
1104
+ type: "button",
1105
+ onClick: () => queryCache.clear(),
1106
+ style: {
1107
+ padding: '.3em .4em',
1108
+ marginRight: '.5em'
1109
+ }
1110
+ }, "Clear"), /*#__PURE__*/React.createElement(Button, {
1102
1111
  type: "button",
1103
1112
  onClick: () => {
1104
1113
  if (isMockOffline) {
@@ -1576,7 +1585,8 @@ const QueryRow = /*#__PURE__*/React.memo(({
1576
1585
  padding: '.5em'
1577
1586
  }
1578
1587
  }, "" + queryHash));
1579
- }); // eslint-disable-next-line @typescript-eslint/no-empty-function
1588
+ });
1589
+ QueryRow.displayName = 'QueryRow'; // eslint-disable-next-line @typescript-eslint/no-empty-function
1580
1590
 
1581
1591
  function noop() {}
1582
1592