mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 14:51:13 -05:00
Fix stuck claiming button
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user