fix: resolve all TypeScript errors and add missing translation keys

This commit is contained in:
Gemini AI
2025-12-29 13:31:18 +04:00
Unverified
parent 66b31b567b
commit a646a705a2
3 changed files with 15 additions and 6 deletions

View File

@@ -218,7 +218,7 @@ export default function GoogleAdsGenerator() {
}
} catch (err) {
console.error("[GoogleAdsGenerator] Generation error:", err);
setError(err instanceof Error ? err.message : t.error);
setError(err instanceof Error ? err.message : t.errorGenerate);
} finally {
setProcessing(false);
}