Fix stuck claiming button

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 23:14:35 +00:00
parent ba67d5414f
commit 1317722c74

View File

@@ -107,6 +107,8 @@ export const QueueItem = memo(({
// On success, component will re-render with new lock state
} catch (error) {
console.error('Failed to claim submission:', error);
} finally {
// Always reset claiming state, even on success
setIsClaiming(false);
}
}, [onClaimSubmission, item.id]);