@ludo.ninja/components 2.1.2 → 2.1.3
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/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +1 -1
- package/build/api/subscriptions/SubscriberInviteNotification.js +1 -1
- package/build/components/Page404/index.js +1 -1
- package/build/components/Page500/index.js +1 -1
- package/build/system/Cards/CreationCard/index.js +1 -1
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ const Page404 = () => {
|
|
|
67
67
|
router.push("/");
|
|
68
68
|
}
|
|
69
69
|
else {
|
|
70
|
-
window.open(appDomain);
|
|
70
|
+
window.open(appDomain, '_self');
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
return ((0, jsx_runtime_1.jsx)(mainLayout_1.default, { children: (0, jsx_runtime_1.jsx)(StyledNotFoundPage, { children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { className: "notFoundContent", justifyContent: "center", alignItems: "center", children: [(0, jsx_runtime_1.jsxs)(index_1.Box, { mr: 140, className: "notFoundText", children: [(0, jsx_runtime_1.jsxs)("h1", { className: "notFoundCaption", children: ["Whoops! ", (0, jsx_runtime_1.jsx)("br", {}), " No results found"] }), (0, jsx_runtime_1.jsx)(index_1.Box, { mt: "36px", children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { onClick: redirectToHomePage, variant: "primaryL", text: "Go to Main page" }) })] }), (0, jsx_runtime_1.jsx)(index_1.Box, { children: (0, jsx_runtime_1.jsx)("div", { className: "notFoundIcon", children: (0, jsx_runtime_1.jsx)(_404_svg_1.default, {}) }) })] }) }) }));
|
|
@@ -75,7 +75,7 @@ const InternalErrorPage = () => {
|
|
|
75
75
|
router.push("/");
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
78
|
-
window.open(appDomain);
|
|
78
|
+
window.open(appDomain, '_self');
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
return ((0, jsx_runtime_1.jsx)(mainLayout_1.default, { children: (0, jsx_runtime_1.jsx)(StyledInternalErrorPage, { children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { className: "internalErrorContent", justifyContent: "center", alignItems: "center", children: [(0, jsx_runtime_1.jsxs)(index_1.Box, { mr: [97], className: "internalErrorText", children: [(0, jsx_runtime_1.jsx)("h1", { className: "internalErrorCaption", children: "Sorry, unexpected error." }), (0, jsx_runtime_1.jsxs)(index_1.H1, { color: colors_1.TextGrayColor, mt: [14], children: ["We are working on fixing the problem.", (0, jsx_runtime_1.jsx)("br", {}), " Please try again later"] }), (0, jsx_runtime_1.jsx)(index_1.Box, { className: "internalErrorButton", mt: [36], children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { onClick: redirectToHomePage, variant: "primaryL", text: "Go to Main page" }) })] }), (0, jsx_runtime_1.jsx)(index_1.Box, { children: (0, jsx_runtime_1.jsx)("div", { className: "internalErrorIcon", children: (0, jsx_runtime_1.jsx)(_500_svg_1.default, {}) }) })] }) }) }));
|
|
@@ -129,7 +129,7 @@ const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo,
|
|
|
129
129
|
// if (domain === window.origin) {
|
|
130
130
|
// router.push(`/rewards/${userId}`);
|
|
131
131
|
// } else {
|
|
132
|
-
// window.open(`${domain}/rewards/${userId}
|
|
132
|
+
// window.open(`${domain}/rewards/${userId}`,'_self');
|
|
133
133
|
// }
|
|
134
134
|
return ((0, jsx_runtime_1.jsxs)(StyledRegularCard, { isNeedHeight: isNeedHeight, isNeedTransform: isNeedShowMoreButton, isShowCheckbox: isShowCheckbox, children: [isShowCheckbox && ((0, jsx_runtime_1.jsx)(CardCheckbox_1.default, { isActiveCheckbox: !!isActiveCheckbox, onChange: () => {
|
|
135
135
|
toggleCreationToGallery?.(creation);
|