chore(login): remove unused ErrorCallout component

Deletes the ErrorCallout.tsx file as it is not used anywhere in the codebase. This cleans up dead
code from the project.

Addresses https://github.com/fallenbagel/jellyseerr/pull/1505#discussion_r2195045066
This commit is contained in:
Puranjay Savar Mattas
2025-08-01 10:41:45 +00:00
committed by Michael Thomas
parent 8f8a4153b6
commit cfbf7edf7e

View File

@@ -1,26 +0,0 @@
import Alert from '@app/components/Common/Alert';
import { Transition } from '@headlessui/react';
import React from 'react';
interface LoginErrorProps {
error: string;
}
const LoginError: React.FC<LoginErrorProps> = ({ error }) => {
return (
<Transition
as="div"
show={!!error}
enter="transition-opacity duration-300"
enterFrom="opacity-0"
enterTo="opacity-100"
leave="transition-opacity duration-300"
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
<Alert type="error">{error}</Alert>
</Transition>
);
};
export default LoginError;