@rileybathurst/paddle 0.0.64 → 0.0.66
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 +1 -1
- package/src/PaddleSEO.tsx +4 -4
package/package.json
CHANGED
package/src/PaddleSEO.tsx
CHANGED
|
@@ -11,8 +11,8 @@ interface BreadcrumbsTypes {
|
|
|
11
11
|
// I could probably pass it two arguments instead but for now
|
|
12
12
|
function Breadcrumbs(breadcrumbs: BreadcrumbsTypes) {
|
|
13
13
|
|
|
14
|
-
// TODO:
|
|
15
|
-
if (
|
|
14
|
+
// TODO: testing
|
|
15
|
+
if (!breadcrumbs) return null;
|
|
16
16
|
|
|
17
17
|
// remove the breadcrumbs.url from the Object.entries
|
|
18
18
|
// console.log(breadcrumbs.url);
|
|
@@ -106,12 +106,12 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
106
106
|
|
|
107
107
|
// TODO: this is now allStrapiLocation.nodes
|
|
108
108
|
// TODO: I think this will be a keylocation piece
|
|
109
|
-
console.log(strapiLocale.paymentAccepted);
|
|
109
|
+
// console.log(strapiLocale.paymentAccepted);
|
|
110
110
|
const paymentAcceptedQuery = strapiLocale.paymentAccepted ? strapiLocale.paymentAccepted : '';
|
|
111
111
|
const paymentAcceptedFormatted = paymentAcceptedQuery.split('\n').map((payment: string) => payment.trim().replace('- ', '')).join(', ');
|
|
112
112
|
// console.log(paymentAcceptedFormatted);
|
|
113
113
|
|
|
114
|
-
console.log(
|
|
114
|
+
console.log(breadcrumbs);
|
|
115
115
|
|
|
116
116
|
return (
|
|
117
117
|
<>
|