diff --git a/web/src/components/dashboard/config-editor.tsx b/web/src/components/dashboard/config-editor.tsx index 0cc284ac..1708bca1 100644 --- a/web/src/components/dashboard/config-editor.tsx +++ b/web/src/components/dashboard/config-editor.tsx @@ -392,9 +392,10 @@ export function ConfigEditor() { }, [guildId, savedConfig, draftConfig, hasValidationErrors, fetchConfig]); // Clear undo snapshot when guild changes + // biome-ignore lint/correctness/useExhaustiveDependencies: guildId IS necessary - effect must re-run when guild changes useEffect(() => { setPrevSavedConfig(null); - }, []); + }, [guildId]); // ── Undo last save ───────────────────────────────────────────── const undoLastSave = useCallback(() => { diff --git a/web/src/components/dashboard/config-sections/ChallengesSection.tsx b/web/src/components/dashboard/config-sections/ChallengesSection.tsx index c12d43a3..bf681290 100644 --- a/web/src/components/dashboard/config-sections/ChallengesSection.tsx +++ b/web/src/components/dashboard/config-sections/ChallengesSection.tsx @@ -41,7 +41,7 @@ export function ChallengesSection({
Auto-post a daily coding challenge with hint and solve tracking.