From f23851bc971a4cae41c227fc1d0d94db6f669175 Mon Sep 17 00:00:00 2001 From: Christian Benincasa Date: Wed, 19 Jun 2024 07:35:15 -0400 Subject: [PATCH] Removes swagger-ui Fastify plugin, hopefully temporarily (#551) We've seen reports like https://github.com/chrisbenincasa/tunarr/issues/550 where swagger-ui prevents the server from starting, permanently. I haven't been able to reproduce this yet. We've opened an issue on the plugin repo to see if they have ideas: https://github.com/fastify/fastify-swagger-ui/issues/156 For now, we're not really in need of this anyway, so just remove it. I've also updated a bunch of deps and shimmed in the "DOM" types in our tsconfig since there are lots of errors when compiling during the lib check phase for things like esbuild, vitest. --- web/src/pages/channels/EditChannelPage.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/pages/channels/EditChannelPage.tsx b/web/src/pages/channels/EditChannelPage.tsx index bc718601..bc021137 100644 --- a/web/src/pages/channels/EditChannelPage.tsx +++ b/web/src/pages/channels/EditChannelPage.tsx @@ -1,5 +1,10 @@ import { EditChannelTabs } from '@/components/channel_config/EditChannelTabPanel.tsx'; +import { useChannelSuspense } from '@/hooks/useChannels.ts'; +import { Route } from '@/routes/channels_/$channelId/edit/index.tsx'; +import Edit from '@mui/icons-material/Edit'; +import { Box, Button, Stack } from '@mui/material'; import Typography from '@mui/material/Typography'; +import { Link } from '@tanstack/react-router'; import { useState } from 'react'; import Breadcrumbs from '../../components/Breadcrumbs.tsx'; import { EditChannelForm } from '../../components/channel_config/EditChannelForm.tsx'; @@ -8,11 +13,6 @@ import { ChannelEditContext, ChannelEditContextState, } from './EditChannelContext.ts'; -import { Route } from '@/routes/channels_/$channelId/edit/index.tsx'; -import { useChannelSuspense } from '@/hooks/useChannels.ts'; -import Edit from '@mui/icons-material/Edit'; -import { Link } from '@tanstack/react-router'; -import { Stack, Box, Button } from '@mui/material'; type Props = { initialTab?: EditChannelTabs;