mario-core 2.9.186-release → 2.9.188-release
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/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +1 -1
- package/package.json +101 -101
package/dist/index.modern.js
CHANGED
|
@@ -4504,7 +4504,7 @@ var lang_ar = {
|
|
|
4504
4504
|
too_much_pressure_and_really_struggling_to_manage_my_workload: too_much_pressure_and_really_struggling_to_manage_my_workload$2
|
|
4505
4505
|
};
|
|
4506
4506
|
|
|
4507
|
-
var TINY_MCE_API_KEY = "
|
|
4507
|
+
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
4508
4508
|
var GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
|
|
4509
4509
|
var INIT_AMPLITUDE_KEY_PROD = "860fa99c52ae79d98e904b4c862ddaac";
|
|
4510
4510
|
var INIT_AMPLITUDE_KEY_STAGE = "adf89d0ed9b0d5fcc0d1bcfd535345dc";
|
|
@@ -22672,7 +22672,7 @@ var BlockSelectTeacher = function BlockSelectTeacher(_ref) {
|
|
|
22672
22672
|
var BlockSelectTeacher$1 = forwardRef(BlockSelectTeacher);
|
|
22673
22673
|
|
|
22674
22674
|
var getStaticFileUrl = function getStaticFileUrl(url) {
|
|
22675
|
-
var STAGE_DOMAIN = "https://
|
|
22675
|
+
var STAGE_DOMAIN = "https://stage2.marioforme.com";
|
|
22676
22676
|
var isStage = STAGE_DOMAIN === location.origin;
|
|
22677
22677
|
if (!url) return "";
|
|
22678
22678
|
if (isLocalhost && !isStage || url.startsWith("http")) return url;
|
|
@@ -23294,9 +23294,11 @@ var useCreatePassword = function useCreatePassword() {
|
|
|
23294
23294
|
}));
|
|
23295
23295
|
});
|
|
23296
23296
|
}, function (err) {
|
|
23297
|
+
var _err$response, _err$response$data;
|
|
23298
|
+
|
|
23297
23299
|
dispatch(setAlert({
|
|
23298
23300
|
type: "danger",
|
|
23299
|
-
message: err.message
|
|
23301
|
+
message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message || "Error occured"
|
|
23300
23302
|
}));
|
|
23301
23303
|
localStorage.removeItem(ACCESS_TOKEN);
|
|
23302
23304
|
});
|