mirror of
https://github.com/seerr-team/seerr.git
synced 2025-12-23 23:58:07 -05:00
fix: fixes some typos
This commit is contained in:
@@ -209,19 +209,18 @@ const JellyfinLogin = ({ revalidate, serverType }: JellyfinLoginProps) => {
|
||||
);
|
||||
}}
|
||||
</Formik>
|
||||
{
|
||||
<div className="mt-4">
|
||||
<Button
|
||||
buttonType="ghost"
|
||||
type="button"
|
||||
onClick={() => setShowQuickConnect(true)}
|
||||
className="w-full"
|
||||
>
|
||||
<QrCodeIcon />
|
||||
<span>{intl.formatMessage(messages.quickconnect)}</span>
|
||||
</Button>
|
||||
</div>
|
||||
}
|
||||
|
||||
<div className="mt-4">
|
||||
<Button
|
||||
buttonType="ghost"
|
||||
type="button"
|
||||
onClick={() => setShowQuickConnect(true)}
|
||||
className="w-full"
|
||||
>
|
||||
<QrCodeIcon />
|
||||
<span>{intl.formatMessage(messages.quickconnect)}</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{showQuickConnect && (
|
||||
<JellyfinQuickConnectModal
|
||||
|
||||
@@ -36,7 +36,7 @@ const JellyfinQuickConnectModal = ({
|
||||
|
||||
const authenticate = useCallback(
|
||||
async (secret: string) => {
|
||||
await axios.post('/api/v1/auth/jellyfin/quickconnect', {
|
||||
await axios.post('/api/v1/auth/jellyfin/quickconnect/authenticate', {
|
||||
secret,
|
||||
});
|
||||
onAuthenticated();
|
||||
|
||||
@@ -60,7 +60,7 @@ export const useQuickConnect = ({
|
||||
if (!isMounted.current) return;
|
||||
|
||||
const errMsg =
|
||||
error?.response?.data?.errorMessage ||
|
||||
error?.response?.data?.message ||
|
||||
intl.formatMessage(messages.errorMessage);
|
||||
setErrorMessage(errMsg);
|
||||
setHasError(true);
|
||||
|
||||
Reference in New Issue
Block a user