@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "1.9.37",
4
+ "version": "1.9.39",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "tsc --noEmit && stay-gold && vite",
@@ -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
- if (timeframe) {
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