@truedat/bg 7.5.14 → 7.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/bg",
3
- "version": "7.5.14",
3
+ "version": "7.6.1",
4
4
  "description": "Truedat Web Business Glossary",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -48,7 +48,7 @@
48
48
  "@testing-library/jest-dom": "^6.6.3",
49
49
  "@testing-library/react": "^16.3.0",
50
50
  "@testing-library/user-event": "^14.6.1",
51
- "@truedat/test": "7.5.14",
51
+ "@truedat/test": "7.6.1",
52
52
  "identity-obj-proxy": "^3.0.0",
53
53
  "jest": "^29.7.0",
54
54
  "redux-saga-test-plan": "^4.0.6"
@@ -81,5 +81,5 @@
81
81
  "semantic-ui-react": "^3.0.0-beta.2",
82
82
  "swr": "^2.3.3"
83
83
  },
84
- "gitHead": "46d017329f0f074db1feb2304c06ba696bb68a14"
84
+ "gitHead": "da40cd48fee6be123cdb2fad700e16cdf9f69319"
85
85
  }
@@ -1,4 +1,4 @@
1
- import React, { createContext, useState, useContext } from "react";
1
+ import React, { createContext, useState, use } from "react";
2
2
  import PropTypes from "prop-types";
3
3
 
4
4
  export const ConceptContext = createContext("conceptContext");
@@ -32,6 +32,6 @@ ConceptContextProvider.propTypes = {
32
32
  children: PropTypes.node,
33
33
  };
34
34
 
35
- export const useConceptContext = () => useContext(ConceptContext);
35
+ export const useConceptContext = () => use(ConceptContext);
36
36
 
37
37
  export default ConceptContextProvider;