Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/lib/metadata/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ export const generateGroupMetadata = async (groupId: string): Promise<Metadata>
canonical: currentUrl,
},
};
} catch (error) {
console.error('Failed to fetch group data for metadata:', error);
} catch {
return {
title: `모임 상세 정보 | WeGo`,
description: '사용자의 모임을 확인해보세요.',
Expand Down
3 changes: 1 addition & 2 deletions src/lib/metadata/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ export const generateHomeMetadata = async (keyword?: string): Promise<Metadata>
canonical: currentUrl,
},
};
} catch (error) {
console.error('Failed to generate home metadata:', error);
} catch {
return {
title: 'WeGo - 함께하는 모임 플랫폼',
description: 'WeGo에서 함께할 다양한 모임을 탐색하고 참여하세요.',
Expand Down
3 changes: 1 addition & 2 deletions src/lib/metadata/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export const generateProfileMetadata = async (userId: number): Promise<Metadata>
canonical: currentUrl,
},
};
} catch (error) {
console.error('Failed to fetch user profile for metadata:', error);
} catch {
return {
title: `사용자 프로필 | WeGo`,
description: '사용자의 프로필과 리뷰를 확인해보세요.',
Expand Down