fix: fix eslint

This commit is contained in:
ljt990218
2024-10-10 15:39:04 +08:00
parent 7454a45447
commit f017898dbd

View File

@@ -21,7 +21,6 @@ const ErrorRow: FC<IErrorRowProps> = ({ record, onDelete, onWordUpdate }) => {
const dictInfo = idDictionaryMap[record.dict]
const { word, isLoading, hasError } = useGetWord(record.word, dictInfo)
const prevWordRef = useRef<any>()
const stableWord = useMemo(() => word, [word])
const onClick = useCallback(() => {