mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 11:11:12 -05:00
Remove debug console logs
This commit is contained in:
@@ -27,18 +27,15 @@ export const QueueSortControls = ({
|
||||
const validFields: SortField[] = ['created_at', 'submission_type', 'status'];
|
||||
|
||||
if (!validFields.includes(value as SortField)) {
|
||||
console.warn('⚠️ [SORT] Invalid sort field:', value);
|
||||
return;
|
||||
}
|
||||
|
||||
const field = value as SortField;
|
||||
console.log('🔄 [SORT] Field change:', { from: sortConfig.field, to: field });
|
||||
onSortChange({ ...sortConfig, field });
|
||||
};
|
||||
|
||||
const handleDirectionToggle = () => {
|
||||
const newDirection = sortConfig.direction === 'asc' ? 'desc' : 'asc';
|
||||
console.log('🔄 [SORT] Direction toggle:', { from: sortConfig.direction, to: newDirection });
|
||||
onSortChange({
|
||||
...sortConfig,
|
||||
direction: newDirection
|
||||
|
||||
Reference in New Issue
Block a user