Refactor admin actions and improve code formatting: Standardize import statements, enhance error handling messages, and apply consistent formatting across event, user, and preference management functions for better readability and maintainability.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
@@ -35,9 +35,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
{error && (
|
||||
<p className="text-red-400 text-xs mt-1">{error}</p>
|
||||
)}
|
||||
{error && <p className="text-red-400 text-xs mt-1">{error}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -46,4 +44,3 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
|
||||
Input.displayName = "Input";
|
||||
|
||||
export default Input;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user