Skip to content

Commit ef38cd6

Browse files
remove console.logs and rename file to plausibleUtils instead of analytics
1 parent 789d49e commit ef38cd6

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed
File renamed without changes.

src/lib/Surveys/surveyUtils.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export async function loadSurveys(stop = null, userId = null) {
88
const data = await response.json();
99
const validSurveys = getValidSurveys(data.surveys);
1010

11-
console.log("I'm the validSurveys", validSurveys);
12-
1311
let selectedSurvey = null;
1412

1513
if (stop) {

src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import { getUserId } from '$lib/utils/user';
1818
import analytics from '$lib/Analytics/PlausibleAnalytics';
1919
import { userLocation } from '$src/stores/userLocationStore';
20-
import { analyticsDistanceToStop } from '$lib/Analytics/analyticsUtils';
20+
import { analyticsDistanceToStop } from '$lib/Analytics/plausibleUtils';
2121
2222
let stop = $state();
2323
let selectedTrip = $state(null);

src/routes/stops/[stopID]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { loadSurveys } from '$lib/Surveys/surveyUtils.js';
99
import { getUserId } from '$lib/utils/user.js';
1010
import analytics from '$lib/Analytics/PlausibleAnalytics.js';
11-
import { analyticsDistanceToStop } from '$lib/Analytics/analyticsUtils.js';
11+
import { analyticsDistanceToStop } from '$lib/Analytics/plausibleUtils.js';
1212
import { userLocation } from '$src/stores/userLocationStore.js';
1313
1414
let { data } = $props();

0 commit comments

Comments
 (0)