diff --git a/src/components/auth/AuthForm.jsx b/src/components/auth/AuthForm.jsx
index 3f9a0ff..95e3a58 100644
--- a/src/components/auth/AuthForm.jsx
+++ b/src/components/auth/AuthForm.jsx
@@ -12,7 +12,7 @@ const FORM_TYPE = {
};
const AuthForm = ({
- type, fields, onChange, onSubmit,
+ type, fields, onChange, onSubmit, error,
}) => {
const formType = FORM_TYPE[type];
@@ -60,6 +60,9 @@ const AuthForm = ({
onChange={handleChange}
/>
)}
+ {error && (
+
{error}
+ )}