Skip to content

Commit 5afae60

Browse files
committed
remove console.logs
1 parent 7e61fe1 commit 5afae60

File tree

5 files changed

+1
-34
lines changed

5 files changed

+1
-34
lines changed

src/contexts/FestivalEditionContext.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ function getSlugs(pathname: string) {
4343
const subdomainInfo = getSubdomainInfo();
4444
let festivalSlug = subdomainInfo.festivalSlug || "";
4545

46-
console.log("🔍 FestivalEditionContext getSlugs debug:", {
47-
pathname,
48-
festivalSlug: subdomainInfo.festivalSlug,
49-
isSubdomain: subdomainInfo.isSubdomain,
50-
isMainDomain: subdomainInfo.isMainDomain,
51-
});
52-
5346
let basePath = "";
5447
// For main domain, extract festival slug from URL path
5548
if (pathname.includes("/festivals/")) {
@@ -60,7 +53,6 @@ function getSlugs(pathname: string) {
6053
}
6154

6255
if (!pathname.includes("/editions")) {
63-
console.log("🔍 No editions in pathname, returning:", { festivalSlug });
6456
return {
6557
festivalSlug,
6658
basePath,
@@ -75,10 +67,6 @@ function getSlugs(pathname: string) {
7567
if (matchWithSlash) {
7668
const editionSlug = matchWithSlash?.params.editionSlug || "";
7769

78-
console.log("🔍 Found editions in pathname with slash, returning:", {
79-
festivalSlug,
80-
editionSlug,
81-
});
8270
return {
8371
basePath: basePath + `/editions/${editionSlug}`,
8472
festivalSlug,
@@ -92,12 +80,6 @@ function getSlugs(pathname: string) {
9280

9381
const editionSlug = matchWithoutSlash?.params.editionSlug || "";
9482

95-
console.log("🔍 Found editions in pathname without slash, returning:", {
96-
festivalSlug,
97-
editionSlug,
98-
matchWithoutSlash,
99-
pathname,
100-
});
10183
return {
10284
basePath: basePath + `/editions/${editionSlug}`,
10385
festivalSlug,

src/hooks/queries/auth/useUpdateProfile.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ async function updateProfile(variables: {
1919
},
2020
);
2121

22-
console.log(
23-
"Validation result:",
24-
validationResult,
25-
"Error:",
26-
validationError,
27-
);
28-
2922
if (validationError) {
3023
throw new Error("Failed to validate profile data");
3124
}

src/hooks/useArtistSoundcloudPlaylist.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ interface UseArtistSoundcloudPlaylistOptions {
5656
async function fetchArtistPlaylist(
5757
soundcloudUrl: string,
5858
): Promise<SoundCloudPlaylist> {
59-
console.log(
60-
"[fetchArtistPlaylist] Calling edge function for:",
61-
soundcloudUrl,
62-
);
63-
6459
const { data, error } = await supabase.functions.invoke(
6560
"get-artist-soundcloud-playlist",
6661
{
@@ -108,7 +103,6 @@ async function fetchArtistPlaylist(
108103
throw new Error("No playlist found in response");
109104
}
110105

111-
console.log("[fetchArtistPlaylist] Received playlist:", data.playlist.title);
112106
return data.playlist;
113107
}
114108

src/hooks/useScheduleData.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ export function useScheduleData(
7676
};
7777
});
7878

79-
console.log({ enhancedSets });
80-
8179
// Group sets by day
8280
const dayGroups = enhancedSets.reduce(
8381
(acc, set) => {

src/pages/EditionView/EditionLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function EditionView() {
3232
const ticketsUrl = customLinks.find(
3333
(link) => link.link_type === "tickets",
3434
)?.url;
35-
console.log(customLinks);
35+
3636
return (
3737
<div className="min-h-screen bg-app-gradient">
3838
<div className="container mx-auto px-4 py-4 md:py-8 pb-20 md:pb-8">

0 commit comments

Comments
 (0)