refactor: remove debug console logs from selection cell components and database migration table column change

This commit is contained in:
shancds
2025-05-21 07:56:38 +05:30
parent cc8dca7b75
commit ded0ad693c
3 changed files with 12 additions and 12 deletions

View File

@@ -23,11 +23,11 @@ const CustomColumnSelectionCell = ({
const { t } = useTranslation('task-list-table');
// Debug the selectionsList and value
console.log('CustomColumnSelectionCell props:', {
selectionsList,
value,
selectionsCount: selectionsList?.length || 0
});
// console.log('CustomColumnSelectionCell props:', {
// selectionsList,
// value,
// selectionsCount: selectionsList?.length || 0
// });
// Set initial selection based on value prop
useEffect(() => {

View File

@@ -854,10 +854,10 @@ const SelectionFieldCell: React.FC<{
useEffect(() => {
if (!loggedInfo) {
console.log('Selection column data:', {
columnKey,
selectionsList,
});
// console.log('Selection column data:', {
// columnKey,
// selectionsList,
// });
setLoggedInfo(true);
}
}, [columnKey, selectionsList, loggedInfo]);