fix(frontend): properly remove site overlay when closing modals

This commit is contained in:
sct
2020-12-11 12:17:00 +00:00
parent b16fbafa1f
commit 3fa7ff9858
4 changed files with 4 additions and 13 deletions

View File

@@ -47,7 +47,6 @@ const TvRequestModal: React.FC<RequestModalProps> = ({
onComplete,
tmdbId,
onUpdating,
...props
}) => {
const { addToast } = useToasts();
const { data, error } = useSWR<TvDetails>(`/api/v1/tv/${tmdbId}`);
@@ -222,7 +221,6 @@ const TvRequestModal: React.FC<RequestModalProps> = ({
/>
</svg>
}
{...props}
>
<div className="flex flex-col">
<div className="-mx-4 sm:mx-0 overflow-auto max-h-96">