thm-p3-configurator 0.0.166 → 0.0.168
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.
|
@@ -35,6 +35,7 @@ var _helpers__ = require("../../__helpers__");
|
|
|
35
35
|
var _dossier = require("../../__helpers__/dossier");
|
|
36
36
|
var _useSearchParam = _interopRequireDefault(require("../../__hooks__/useSearchParam"));
|
|
37
37
|
var _authenticatedProxyApi = require("../../__api__/authenticatedProxyApi");
|
|
38
|
+
var _reactQuery = require("react-query");
|
|
38
39
|
function _interopRequireDefault(e) {
|
|
39
40
|
return e && e.__esModule ? e : {
|
|
40
41
|
default: e
|
|
@@ -112,7 +113,9 @@ const InternalSessionEditPage = props => {
|
|
|
112
113
|
var _props$match;
|
|
113
114
|
const [dossierType] = (0, _useSearchParam.default)(['dossierType']); // Note: this is of type `DOSSIER_TYPES` (found in __constants__ folder)
|
|
114
115
|
|
|
116
|
+
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
115
117
|
const formula = (0, _FormulaContext.useFormula)();
|
|
118
|
+
queryClient.invalidateQueries();
|
|
116
119
|
const {
|
|
117
120
|
dossierById,
|
|
118
121
|
isDossierByIdError
|