diff --git a/src/api/words.ts b/src/api/words.ts index 17dcceb..a60d8b7 100644 --- a/src/api/words.ts +++ b/src/api/words.ts @@ -102,7 +102,7 @@ export async function uploadWords(word: WordCreateInput) { throw new Error("Unauthorized"); } - const { memo, ...uploadData } = word; + const { memo } = word; const normalizedMemo = memo !== undefined && memo.trim() === "" ? null : memo;