diff --git a/website/blog/2024-12-01-advent-of-pbt-day-1/AdventOfTheDayBuilder.tsx b/website/blog/2024-12-01-advent-of-pbt-day-1/AdventOfTheDayBuilder.tsx index 4f70832decc..54cc893b93f 100644 --- a/website/blog/2024-12-01-advent-of-pbt-day-1/AdventOfTheDayBuilder.tsx +++ b/website/blog/2024-12-01-advent-of-pbt-day-1/AdventOfTheDayBuilder.tsx @@ -79,12 +79,6 @@ export function buildAdventOfTheDay(options: Options) { } function onSubmit(event: React.SyntheticEvent) { - const hasAlreadyBeenSolved = retrievePastAnswerIfSolved() !== null; - if (!hasAlreadyBeenSolved) { - fetch(`https://api.counterapi.dev/v1/fast-check/AdventOfPBT2024Day${day}Attempt/up`) - .then((response) => response.json()) - .catch(() => {}); - } event.preventDefault(); try { const answer = extractAnswerFromForm(event); @@ -100,11 +94,6 @@ export function buildAdventOfTheDay(options: Options) { } lastError = null; localStorage.setItem(storageKey, answer); - if (!hasAlreadyBeenSolved) { - fetch(`https://api.counterapi.dev/v1/fast-check/AdventOfPBT2024Day${day}Success/up`) - .then((response) => response.json()) - .catch(() => {}); - } } catch (err) { lastError = `Malformed inputs provided!\n${(err as Error).message}`; }