Fix: App not loading

This commit is contained in:
gpt-engineer-app[bot]
2025-10-09 12:28:04 +00:00
parent fb4396e217
commit 732efa9992

View File

@@ -422,7 +422,10 @@ export const ModerationQueue = forwardRef<ModerationQueueRef>((props, ref) => {
});
setSubmissionMemo(newMemoMap);
// CRM-style frozen queue logic
// CRM-style frozen queue logic using refs
const currentRefreshStrategy = refreshStrategyRef.current;
const currentPreserveInteraction = preserveInteractionRef.current;
if (silent) {
// Background polling: ONLY detect NEW submissions, never update existing ones
const currentLoadedIds = loadedIdsRef.current;