mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-30 21:49:11 -05:00
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:
committed by
Michael Thomas
parent
8f8a4153b6
commit
cfbf7edf7e
@@ -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;
|
||||
Reference in New Issue
Block a user