removed all console logs.
This commit is contained in:
1 parent
3226035589
commit
a7a8bb2ea8
2 files changed
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user