Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit 335e863

Browse files
committed
fix: console 제거
1 parent d66fe3c commit 335e863

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

packages/tds-ui/src/components/action-sheet/action-sheet.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ export const ActionSheet = ({
5959
onOpenChange: (open) => (open ? undefined : onClose?.()),
6060
})
6161

62-
if (open) {
63-
// eslint-disable-next-line no-console
64-
console.log('ActionSheet render', context, 'portalId', portalId)
65-
}
66-
6762
const dismiss = useDismiss(context, {
6863
outsidePress: (event) => {
6964
return !!(event.target as HTMLElement).closest?.(

packages/tds-ui/src/components/confirm/confirm.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ export const Confirm = ({
3333
}
3434

3535
const handleConfirm = () => {
36-
// eslint-disable-next-line no-console
37-
console.log('Confirm clicked')
3836
if (disableConfirm) {
3937
return
4038
}
41-
// eslint-disable-next-line no-console
42-
console.log('Confirm not disabled')
4339
onConfirm ? !onConfirm() && onClose?.() : onClose?.()
4440
}
4541

packages/tds-ui/src/components/modal/modal.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ export const Modal = ({
5959
onOpenChange: (open) => (open ? undefined : onClose?.()),
6060
})
6161

62-
if (open) {
63-
// eslint-disable-next-line no-console
64-
console.log('Modal render', context, 'portalId', portalId)
65-
}
66-
6762
const dismiss = useDismiss(context)
6863
const role = useRole(context, { role: 'dialog' })
6964

packages/tds-widget/src/review/components/my-review-action-sheet.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export function MyReviewActionSheet({
3939

4040
const handleDeleteReview = () => {
4141
mutate({ id: reviewId, resourceId, resourceType })
42-
// eslint-disable-next-line no-console
43-
console.log('Review deleted')
4442
removeUriHash('replace')
4543
}
4644

@@ -73,9 +71,6 @@ export function MyReviewActionSheet({
7371
open={hasUriHash(HASH_DELETION_MODAL)}
7472
onClose={() => removeUriHash('replace')}
7573
onConfirm={() => {
76-
// eslint-disable-next-line no-console
77-
console.log('Delete review confirmed')
78-
// removeUriHash('replace')
7974
handleDeleteReview()
8075
}}
8176
>

0 commit comments

Comments
 (0)