fix(settings): toast notifications import

This commit is contained in:
0xsysr3ll
2026-05-11 22:18:59 +02:00
parent 5a33195950
commit a6444c5ea3

View File

@@ -2,6 +2,7 @@ import Alert from '@app/components/Common/Alert';
import Button from '@app/components/Common/Button';
import Modal from '@app/components/Common/Modal';
import useSettings from '@app/hooks/useSettings';
import useToasts from '@app/hooks/useToasts';
import globalMessages from '@app/i18n/globalMessages';
import defineMessages from '@app/utils/defineMessages';
import { Transition } from '@headlessui/react';
@@ -11,7 +12,6 @@ import axios from 'axios';
import Link from 'next/link';
import { Fragment, useState } from 'react';
import { FormattedMessage, useIntl } from 'react-intl';
import { useToasts } from 'react-toast-notifications';
import useSWR from 'swr';
type SwitchTargetServerType = 'jellyfin' | 'emby' | 'plex';