Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop, AnkiDroid and AnkiMobile with audio of HSK 2.0 (HSK1-6) and HSK 3.0 (HSK 1-9) characters.
Describe the bug
Attempting to create a deck containing the word "旅鼠" fails with:
Cannot read properties of null (reading 'length')
TypeError: Cannot read properties of null (reading 'length')
at Object.pinyinAndZhuyin (webpack-internal:///./src/dict/pinyinzhuyin.ts:7:236)
at fetchMeaningGoogleTranslate (webpack-internal:///./src/pages/create.tsx:41:2454)
at async searchAndAdd (webpack-internal:///./src/pages/create.tsx:41:3426)
Describe the bug Attempting to create a deck containing the word "旅鼠" fails with:
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the site to generate a card with "旅鼠"
Desktop (please complete the following information):
Additional context I don't know why the code is throwing the error: