mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 17:59:14 +00:00
refactor(web): headlessui v2 (#1570)
* refactor(web): fix build errors, SlideOver panels and forms * refactor(web): fix build errors * refactor(web): fix filter importer * refactor(web): fix modals * chore(web): bump pnpm * refactor(web): pending component * refactor(web): Dialog.Title to DialogTitle
This commit is contained in:
parent
0841a1ce7c
commit
7821f7fb2f
13 changed files with 139 additions and 180 deletions
|
@ -336,13 +336,6 @@ export const RootRoute = createRootRouteWithContext<{
|
|||
}>()({
|
||||
component: RootComponent,
|
||||
notFoundComponent: NotFound,
|
||||
pendingComponent: () => (
|
||||
<div className="h-screen">
|
||||
<div className="flex flex-grow items-center justify-center h-screen sm:h-3/5">
|
||||
<RingResizeSpinner className="text-blue-500 size-24"/>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
});
|
||||
|
||||
const filterRouteTree = FiltersRoute.addChildren([FilterIndexRoute, FilterGetByIdRoute.addChildren([FilterGeneralRoute, FilterMoviesTvRoute, FilterMusicRoute, FilterAdvancedRoute, FilterExternalRoute, FilterActionsRoute])])
|
||||
|
@ -357,7 +350,7 @@ const routeTree = RootRoute.addChildren([
|
|||
export const Router = createRouter({
|
||||
routeTree,
|
||||
defaultPendingComponent: () => (
|
||||
<div className="flex flex-grow items-center justify-center col-span-9">
|
||||
<div className="flex flex-grow items-center justify-center col-span-9 h-full">
|
||||
<RingResizeSpinner className="text-blue-500 size-24"/>
|
||||
</div>
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue