mirror of
https://github.com/sct/overseerr.git
synced 2025-09-28 13:04:23 +02:00
build(deps): update dependencies and update relevant files
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from 'react';
|
||||
import React from 'react';
|
||||
import { Field, Form, Formik } from 'formik';
|
||||
import useSWR from 'swr';
|
||||
import LoadingSpinner from '../../Common/LoadingSpinner';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from 'react';
|
||||
import React from 'react';
|
||||
import { Field, Form, Formik } from 'formik';
|
||||
import useSWR from 'swr';
|
||||
import LoadingSpinner from '../../Common/LoadingSpinner';
|
||||
|
@@ -226,7 +226,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
|
||||
okText={
|
||||
isSubmitting
|
||||
? intl.formatMessage(messages.saving)
|
||||
: !!radarr
|
||||
: radarr
|
||||
? intl.formatMessage(messages.save)
|
||||
: intl.formatMessage(messages.add)
|
||||
}
|
||||
|
@@ -80,7 +80,7 @@ const SettingsLayout: React.FC = ({ children }) => {
|
||||
<Link href={route}>
|
||||
<a
|
||||
className={`whitespace-nowrap ml-8 first:ml-0 py-4 px-1 border-b-2 border-transparent font-medium text-sm leading-5 ${
|
||||
!!router.pathname.match(regex) ? activeLinkColor : inactiveLinkColor
|
||||
router.pathname.match(regex) ? activeLinkColor : inactiveLinkColor
|
||||
}`}
|
||||
aria-current="page"
|
||||
>
|
||||
|
@@ -56,7 +56,7 @@ const SettingsMain: React.FC = () => {
|
||||
}
|
||||
}}
|
||||
>
|
||||
{({ errors, touched, isSubmitting }) => {
|
||||
{({ isSubmitting }) => {
|
||||
return (
|
||||
<Form>
|
||||
<div className="sm:grid sm:grid-cols-3 sm:gap-4 sm:items-start sm:border-t sm:border-gray-800 sm:pt-5">
|
||||
|
@@ -49,7 +49,7 @@ const SettingsNotifications: React.FC = ({ children }) => {
|
||||
<Link href={route}>
|
||||
<a
|
||||
className={`whitespace-nowrap ml-8 first:ml-0 px-3 py-2 font-medium text-sm rounded-md ${
|
||||
!!router.pathname.match(regex) ? activeLinkColor : inactiveLinkColor
|
||||
router.pathname.match(regex) ? activeLinkColor : inactiveLinkColor
|
||||
}`}
|
||||
aria-current="page"
|
||||
>
|
||||
|
@@ -229,7 +229,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
||||
okText={
|
||||
isSubmitting
|
||||
? intl.formatMessage(messages.saving)
|
||||
: !!sonarr
|
||||
: sonarr
|
||||
? intl.formatMessage(messages.save)
|
||||
: intl.formatMessage(messages.add)
|
||||
}
|
||||
|
Reference in New Issue
Block a user