@rileybathurst/paddle 1.9.37 → 1.9.38
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/paddle-time.tsx +6 -0
package/package.json
CHANGED
package/src/paddle-time.tsx
CHANGED
|
@@ -32,6 +32,9 @@ console.log("paddle time");
|
|
|
32
32
|
let sunsetEndTime = '';
|
|
33
33
|
|
|
34
34
|
if (slug === 'sunset' && allStrapiSunsetTourTime && allStrapiSunsetTourTime.nodes) {
|
|
35
|
+
// TODO: testing
|
|
36
|
+
console.log("sunset");
|
|
37
|
+
|
|
35
38
|
allStrapiSunsetTourTime.nodes.map((time) => {
|
|
36
39
|
const startDate = new Date(time.startDate);
|
|
37
40
|
const endDate = new Date(time.endDate);
|
|
@@ -46,6 +49,9 @@ console.log("paddle time");
|
|
|
46
49
|
const hairSpace = String.fromCharCode(0x200A);
|
|
47
50
|
|
|
48
51
|
if (timeframe) {
|
|
52
|
+
// TODO: testing
|
|
53
|
+
console.log("timeframe");
|
|
54
|
+
|
|
49
55
|
return {
|
|
50
56
|
// key: timeframe, cant return key its a react special prop
|
|
51
57
|
// https://react.dev/warnings/special-props
|