@akinon/next 1.56.0-rc.2 → 1.56.0-rc.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/CHANGELOG.md
CHANGED
|
@@ -31,11 +31,11 @@ export default function SelectedPaymentOptionView() {
|
|
|
31
31
|
dynamic(
|
|
32
32
|
async () => {
|
|
33
33
|
const customOption = PaymentOptionViews.find(
|
|
34
|
-
(opt) => opt.slug === payment_option
|
|
34
|
+
(opt) => opt.slug === payment_option?.slug
|
|
35
35
|
);
|
|
36
36
|
|
|
37
37
|
if (customOption) {
|
|
38
|
-
const Component = customOption
|
|
38
|
+
const Component = customOption?.view;
|
|
39
39
|
|
|
40
40
|
const componentWrapper = () => <Component />;
|
|
41
41
|
|
|
@@ -44,7 +44,7 @@ export default function SelectedPaymentOptionView() {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
const view = paymentTypeToView[payment_option
|
|
47
|
+
const view = paymentTypeToView[payment_option?.payment_type];
|
|
48
48
|
if (view) {
|
|
49
49
|
try {
|
|
50
50
|
const mod = await import(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/next",
|
|
3
3
|
"description": "Core package for Project Zero Next",
|
|
4
|
-
"version": "1.56.0-rc.
|
|
4
|
+
"version": "1.56.0-rc.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"set-cookie-parser": "2.6.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@akinon/eslint-plugin-projectzero": "1.56.0-rc.
|
|
33
|
+
"@akinon/eslint-plugin-projectzero": "1.56.0-rc.3",
|
|
34
34
|
"@types/react-redux": "7.1.30",
|
|
35
35
|
"@types/set-cookie-parser": "2.4.7",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "6.7.4",
|