From a6444c5ea3f62b20b33febb0a412d3cc057a5552 Mon Sep 17 00:00:00 2001 From: 0xsysr3ll <0xsysr3ll@pm.me> Date: Mon, 11 May 2026 22:18:59 +0200 Subject: [PATCH] fix(settings): toast notifications import --- src/components/Settings/SwitchMediaServerSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/SwitchMediaServerSection.tsx b/src/components/Settings/SwitchMediaServerSection.tsx index cd818abfd..9e9ee1fc4 100644 --- a/src/components/Settings/SwitchMediaServerSection.tsx +++ b/src/components/Settings/SwitchMediaServerSection.tsx @@ -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';