mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-02 04:39:14 -05:00
fix: transition animation (#2974)
switched to using headlessui transition instead of react-css-transition due to new version breaking the animation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import CreateIssueModal from '@app/components/IssueModal/CreateIssueModal';
|
||||
import Transition from '@app/components/Transition';
|
||||
import { Transition } from '@headlessui/react';
|
||||
|
||||
interface IssueModalProps {
|
||||
show?: boolean;
|
||||
@@ -11,6 +11,7 @@ interface IssueModalProps {
|
||||
|
||||
const IssueModal = ({ show, mediaType, onCancel, tmdbId }: IssueModalProps) => (
|
||||
<Transition
|
||||
as="div"
|
||||
enter="transition opacity-0 duration-300"
|
||||
enterFrom="opacity-0"
|
||||
enterTo="opacity-100"
|
||||
|
||||
Reference in New Issue
Block a user