@rileybathurst/paddle 1.9.36 → 1.9.37

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.36",
4
+ "version": "1.9.37",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "tsc --noEmit && stay-gold && vite",
@@ -48,9 +48,13 @@ const CompareDetails = ({
48
48
  }: CompareDetailsTypes) => {
49
49
 
50
50
  // TODO: testing
51
+ console.log("start");
51
52
  console.log(start);
53
+ console.log("finish");
52
54
  console.log(finish);
55
+ console.log("duration");
53
56
  console.log(duration);
57
+ console.log("timeframe");
54
58
  console.log(timeframe);
55
59
 
56
60
  const time = PaddleTime({
@@ -123,6 +127,8 @@ const CompareDetails = ({
123
127
 
124
128
  export const PaddleCompare = ({ tours, strapiBranchName, peek_base }: PaddleCompareTypes) => {
125
129
 
130
+ console.log(tours);
131
+
126
132
  let id1 = tours[0].id;
127
133
  let id2 = tours[1].id;
128
134
 
@@ -19,6 +19,13 @@ interface TimeTypes {
19
19
  }
20
20
  export const PaddleTime = ({ start, finish, duration, timeframe, slug, allStrapiSunsetTourTime }: TimeTypes) => {
21
21
 
22
+ // TODO: testing
23
+ console.log("paddle time");
24
+ console.log(start);
25
+ console.log(finish);
26
+ console.log(duration);
27
+ console.log(timeframe);
28
+
22
29
  // TODO: sunset is a whole thing
23
30
  const currentDate = new Date();
24
31
  let sunsetStartTime = '';
@@ -48,6 +55,10 @@ export const PaddleTime = ({ start, finish, duration, timeframe, slug, allStrapi
48
55
  }
49
56
 
50
57
  if (duration) {
58
+
59
+ // TODO: testing
60
+ console.log("duration");
61
+
51
62
  if (duration > 90) {
52
63
  const hours = Math.floor(duration / 60);
53
64
  const mins = duration % 60;