mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-02 04:39:14 -05:00
chore(deps): update react to 18 (#2943)
This commit is contained in:
@@ -50,10 +50,10 @@ interface RequestItemErroProps {
|
||||
revalidateList: () => void;
|
||||
}
|
||||
|
||||
const RequestItemError: React.FC<RequestItemErroProps> = ({
|
||||
const RequestItemError = ({
|
||||
mediaId,
|
||||
revalidateList,
|
||||
}) => {
|
||||
}: RequestItemErroProps) => {
|
||||
const intl = useIntl();
|
||||
const { hasPermission } = useUser();
|
||||
|
||||
@@ -88,10 +88,7 @@ interface RequestItemProps {
|
||||
revalidateList: () => void;
|
||||
}
|
||||
|
||||
const RequestItem: React.FC<RequestItemProps> = ({
|
||||
request,
|
||||
revalidateList,
|
||||
}) => {
|
||||
const RequestItem = ({ request, revalidateList }: RequestItemProps) => {
|
||||
const { ref, inView } = useInView({
|
||||
triggerOnce: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user