@rileybathurst/paddle 1.9.37 → 1.9.39
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 +8 -1
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);
|
|
@@ -45,7 +48,11 @@ console.log("paddle time");
|
|
|
45
48
|
|
|
46
49
|
const hairSpace = String.fromCharCode(0x200A);
|
|
47
50
|
|
|
48
|
-
|
|
51
|
+
// * compare gives a not set value
|
|
52
|
+
if (timeframe && timeframe !== "not set") {
|
|
53
|
+
// TODO: testing
|
|
54
|
+
console.log("timeframe");
|
|
55
|
+
|
|
49
56
|
return {
|
|
50
57
|
// key: timeframe, cant return key its a react special prop
|
|
51
58
|
// https://react.dev/warnings/special-props
|