fix: worker use only i18n keys instead of full i18n

This commit is contained in:
2026-09-13 12:44:51 +05:00
parent 49d0a9444e
commit c2f3838485
12 changed files with 111 additions and 38 deletions
@@ -12,6 +12,7 @@
result: PixelImage | null;
fileResult?: FileResult | null;
textResult?: string | null;
textVars?: Record<string, string | number>;
toolId?: string;
running?: boolean;
oncopy?: () => void;
@@ -22,6 +23,7 @@
result,
fileResult = null,
textResult = null,
textVars = undefined,
toolId = "",
running = false,
oncopy,
@@ -64,6 +66,7 @@
<SchemaTextResult
value={textResult}
kind="verdict"
vars={textVars}
{toolId}
oncopy={oncopy ?? (() => {})}
ondownload={ondownloadtxt ?? (() => {})}