remove unnecessary memos

This commit is contained in:
jake committed 2022-06-22 19:53:08 -04:00
1 parent 25b2e7133b
commit e782f1a8e8
13 files changed
+135 -140

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
import { memo } from "react";
import HCaptcha from "@hcaptcha/react-hcaptcha";
import { useHasMounted } from "../../hooks/use-has-mounted";
import { useTheme } from "../../hooks/use-theme";
@@ -40,4 +39,4 @@ const Captcha = ({ size = "normal", theme, className, ...rest }: CaptchaProps) =
);
};
export default memo(Captcha);
export default Captcha;