Skip to content

Commit

Permalink
feat(next/web): tinyld/light -> tinyld
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Jan 19, 2024
1 parent 36323ed commit fd29f05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function ReplyEditor({ onSubmit, onOperate, operating, ticketLanguage }:
mode === 'public' &&
trimedContent
) {
const { detect } = await import('tinyld/light');
const { detect } = await import('tinyld');
const language = detect(trimedContent);
// Use startsWith to ignore script part (zh matchs zh-Hans)
if (!ticketLanguage.startsWith(language)) {
Expand Down

0 comments on commit fd29f05

Please sign in to comment.