mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-11 00:58:16 -05:00
chore(deps): update react to 18 (#2943)
This commit is contained in:
@@ -13,7 +13,7 @@ interface LoginWithPlexProps {
|
||||
onComplete: () => void;
|
||||
}
|
||||
|
||||
const LoginWithPlex: React.FC<LoginWithPlexProps> = ({ onComplete }) => {
|
||||
const LoginWithPlex = ({ onComplete }: LoginWithPlexProps) => {
|
||||
const intl = useIntl();
|
||||
const [authToken, setAuthToken] = useState<string | undefined>(undefined);
|
||||
const { user, revalidate } = useUser();
|
||||
|
||||
@@ -9,13 +9,13 @@ interface CurrentStep {
|
||||
isLastStep?: boolean;
|
||||
}
|
||||
|
||||
const SetupSteps: React.FC<CurrentStep> = ({
|
||||
const SetupSteps = ({
|
||||
stepNumber,
|
||||
description,
|
||||
active = false,
|
||||
completed = false,
|
||||
isLastStep = false,
|
||||
}) => {
|
||||
}: CurrentStep) => {
|
||||
return (
|
||||
<li className="relative md:flex md:flex-1">
|
||||
<div className="flex items-center space-x-4 px-6 py-4 text-sm font-medium leading-5">
|
||||
|
||||
@@ -28,7 +28,7 @@ const messages = defineMessages({
|
||||
'Scanning will run in the background. You can continue the setup process in the meantime.',
|
||||
});
|
||||
|
||||
const Setup: React.FC = () => {
|
||||
const Setup = () => {
|
||||
const intl = useIntl();
|
||||
const [isUpdating, setIsUpdating] = useState(false);
|
||||
const [currentStep, setCurrentStep] = useState(1);
|
||||
|
||||
Reference in New Issue
Block a user