@rh-support/react-context 2.1.46 → 2.1.49

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.
package/README.md CHANGED
@@ -4,5 +4,3 @@
4
4
 
5
5
  - useContext(GlobalMetadataStateContext) must be used within a GlobalMetadataContextProvider
6
6
  - useContext(GlobalMetadataDispatchContext) must be used within a GlobalMetadataContextProvider
7
-
8
- .
@@ -22,7 +22,7 @@ export const HostnameAwarenessModal = () => {
22
22
  // Function to fetch original data
23
23
  const { getHostnamesVisibilityObj, updateShowHostnamesCount } = useUserPreferences();
24
24
  // Setting State for original data value which are used to open/finalize close modal
25
- const [originalViewedCountValue, setViewedCountValue] = useState(999);
25
+ const [originalViewedCountValue, setViewedCountValue] = useState(undefined);
26
26
  const [doNotShowModal, setDoNotShowModal] = useState(0);
27
27
  const [isModalOpen, setIsModalOpen] = useState(false);
28
28
  const [isHostnamesChecked, setisHostnamesChecked] = useState(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/react-context",
3
- "version": "2.1.46",
3
+ "version": "2.1.49",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -40,9 +40,9 @@
40
40
  "@cee-eng/hydrajs": "4.17.3",
41
41
  "@patternfly/react-core": "5.1.1",
42
42
  "@patternfly/react-icons": "5.1.1",
43
- "@rh-support/components": "2.1.42",
43
+ "@rh-support/components": "2.1.44",
44
44
  "@rh-support/types": "2.0.3",
45
- "@rh-support/user-permissions": "2.1.30",
45
+ "@rh-support/user-permissions": "2.1.32",
46
46
  "@rh-support/utils": "2.1.22",
47
47
  "i18next": "^22.5.1",
48
48
  "localforage": "^1.10.0",
@@ -93,5 +93,5 @@
93
93
  "defaults and supports es6-module",
94
94
  "maintained node versions"
95
95
  ],
96
- "gitHead": "0c9672e10ec1e2d97e7679a47cc9191f4b41d977"
96
+ "gitHead": "375373ea584917e9ab9880c21b1fac72b4fe992e"
97
97
  }