diff --git a/frontend/src/scripts/popups/quote-report-popup.ts b/frontend/src/scripts/popups/quote-report-popup.ts index 333140a61..b2b49c5fd 100644 --- a/frontend/src/scripts/popups/quote-report-popup.ts +++ b/frontend/src/scripts/popups/quote-report-popup.ts @@ -158,7 +158,7 @@ $("#quoteReportPopup .submit").on("click", async () => { $(".pageTest #reportQuoteButton").click(async () => { show({ - quoteId: parseInt(TestWords.randomQuote?.id as string), + quoteId: TestWords.randomQuote?.id, noAnim: false, }); }); diff --git a/frontend/src/scripts/types/types.d.ts b/frontend/src/scripts/types/types.d.ts index 69a600b51..20a2fcb20 100644 --- a/frontend/src/scripts/types/types.d.ts +++ b/frontend/src/scripts/types/types.d.ts @@ -526,7 +526,7 @@ declare namespace MonkeyTypes { text: string; source: string; length: number; - id: number | string; + id: number; group?: number; language: string; }