diff --git a/package.json b/package.json
index 2b10fd020..d0860c498 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,7 @@
"lint-fix": "eslint src/**/*.{ts,tsx} --fix",
"generateDictionary": "ts-node -r tsconfig-paths/register ./src/services/generateDictionary.ts",
"build": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js",
- "build-api": "webpack --config webpack.config.api.js",
- "deploy-api": "wrangler publish"
+ "deploy-api": "wrangler deploy ./src/server/index.ts --name api --compatibility-date 2024-11-12"
},
"jest": {
"transform": {
diff --git a/src/components/Modals/WordErrorModal/WordErrorModal.tsx b/src/components/Modals/WordErrorModal/WordErrorModal.tsx
index b7cfd3c7e..386526ce1 100644
--- a/src/components/Modals/WordErrorModal/WordErrorModal.tsx
+++ b/src/components/Modals/WordErrorModal/WordErrorModal.tsx
@@ -63,7 +63,7 @@ export const WordErrorModal = () => {
useEffect(() => {
if (online) {
- grecaptcha.render('recaptcha-element', {
+ grecaptcha.render('#recaptcha-element', {
sitekey: captchaSiteKey,
theme: 'light',
callback: (token) => {
diff --git a/src/components/ResultsCard/ResultsCard.tsx b/src/components/ResultsCard/ResultsCard.tsx
index 6244fccd9..1e22c0f9b 100644
--- a/src/components/ResultsCard/ResultsCard.tsx
+++ b/src/components/ResultsCard/ResultsCard.tsx
@@ -253,7 +253,7 @@ export const ResultsCard =
{short ? : t('shareWord')}