From 96bff081e95d05098cc39e506118b795e929fb1c Mon Sep 17 00:00:00 2001 From: t7yang Date: Tue, 18 May 2021 09:42:34 +0800 Subject: [PATCH] fix: custom t2s mapping words do not merge into converter. properly add `custom.t2s` into merge list. fixed #33 --- src/background/converter/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/converter/index.ts b/src/background/converter/index.ts index e57c2ac..f510f1a 100644 --- a/src/background/converter/index.ts +++ b/src/background/converter/index.ts @@ -8,9 +8,9 @@ const createSrcPack = async ({ default: def, custom }: PrefWord): Promise res.json()) : {}, def.t2s.phrase ? await fetch(`dictionaries/t2s-phrase.json`).then(res => res.json()) : {}, + custom.t2s, ], });