diff --git a/src/components/Captcha.jsx b/src/components/Captcha.jsx
index de44164..db5aedd 100644
--- a/src/components/Captcha.jsx
+++ b/src/components/Captcha.jsx
@@ -23,7 +23,19 @@ const Captcha = ({ callback, close }) => {
const [imgLoaded, setImgLoaded] = useState(false);
return (
-
)}
-
+
);
};
diff --git a/src/utils/captcha.js b/src/utils/captcha.js
index 96fdc32..f6bb6d3 100644
--- a/src/utils/captcha.js
+++ b/src/utils/captcha.js
@@ -52,7 +52,7 @@ export async function checkCaptchaSolution(
) {
const ipn = getIPv6Subnet(ip);
const key = `capt:${ip}`;
- let solution = await redis.getAsync(key);
+ const solution = await redis.getAsync(key);
if (solution) {
if (solution.toString('utf8') === captchaTextFilter(text)) {
const solvkey = `human:${ipn}`;