diff --git a/apps/web/src/components/(dashboard)/avatar/stack-avatar.tsx b/apps/web/src/components/(dashboard)/avatar/stack-avatar.tsx index abf6d6074c..94f3e5a68a 100644 --- a/apps/web/src/components/(dashboard)/avatar/stack-avatar.tsx +++ b/apps/web/src/components/(dashboard)/avatar/stack-avatar.tsx @@ -25,8 +25,6 @@ export const StackAvatar = ({ first, zIndex, fallbackText = '', type }: StackAva zIndexClass = ZIndexes[zIndex] ?? ''; } - console.log({ type, fallbackText }); - switch (type) { case RecipientStatusType.UNSIGNED: classes = 'bg-dawn-200 text-dawn-900'; diff --git a/packages/ui/primitives/auto-sized-text.tsx b/packages/ui/primitives/auto-sized-text.tsx index 9c377eae55..a2b9e8cef1 100644 --- a/packages/ui/primitives/auto-sized-text.tsx +++ b/packages/ui/primitives/auto-sized-text.tsx @@ -76,12 +76,6 @@ export function AutoSizedText({ const isElementTooBig = childDimensions.width > parentDimensions.width || childDimensions.height > targetHeight; - console.log({ - fontSizeLowerBound: fontSizeLowerBound.current, - fontSizeUpperBound: fontSizeUpperBound.current, - fontSize: fontSize.current, - }); - if (isElementTooBig) { // Scale down if element is bigger than target newFontSize = (fontSizeLowerBound.current + fontSize.current) / 2; @@ -95,14 +89,6 @@ export function AutoSizedText({ fontSizeLowerBound.current = fontSize.current; } - console.log({ - currentFontSize: fontSize.current, - newFontSize, - targetHeight, - currentHeight: childDimensions.height, - parentHeight: parentDimensions.height, - }); - fontSize.current = newFontSize; // Convert to rem if useRem is true @@ -131,13 +117,10 @@ export function AutoSizedText({ fontSizeLowerBound.current = 0; fontSizeUpperBound.current = parentDimensions.height; - console.log('parentDimensions', structuredClone(parentDimensions)); - let iterationCount = 0; while (iterationCount <= ITERATION_LIMIT) { const childDimensions = getElementDimensions(childElement); - console.log({ childDimensions }); const targetHeight = maxHeight && maxHeight < parentDimensions.height ? maxHeight : parentDimensions.height;