mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-19 08:09:45 -06:00
removed all console logs.
This commit is contained in:
@@ -71,7 +71,6 @@ const Select = ({
|
||||
if (!truncate) return; // If truncate is false, do not run this effect
|
||||
|
||||
const calculateMaxLength = () => {
|
||||
console.log(selectRef);
|
||||
if (selectRef.current) {
|
||||
const width = selectRef.current.offsetWidth;
|
||||
const calculatedMaxLength = Math.floor(width / maxStringLength);
|
||||
|
||||
@@ -21,7 +21,6 @@ export const renderTruncatedValue = function (
|
||||
maxLength,
|
||||
placeholder
|
||||
) {
|
||||
console.log(maxLength);
|
||||
if (isEmpty(displayName)) return placeholder;
|
||||
|
||||
return truncate ? (
|
||||
|
||||
Reference in New Issue
Block a user