This commit is contained in:
adueck 2022-10-11 15:37:17 +05:00
parent 084e8616a5
commit f7f06a7ebc
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function ChapterFeedback({ chapter }: { chapter: string }) {
}
useEffect(() => {
return () => {
if (rating === undefined) return;
if (rating === undefined || feedbackStatus === "sent") return;
fetch("https://account.lingdocs.com/feedback", {
method: "PUT",
credentials: "include",