feat(web): replace react-portal with own implementation (#1862)

* feat(web): replace react-portal with own implementation

* chore: add missing license headers
This commit is contained in:
ze0s 2024-12-07 18:05:56 +01:00 committed by GitHub
parent ab718b8232
commit 172fa651af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 113 additions and 99 deletions

View file

@ -7,11 +7,11 @@ import { useEffect } from "react";
import { RouterProvider } from "@tanstack/react-router"
import { QueryClientProvider } from "@tanstack/react-query";
import { Toaster } from "react-hot-toast";
import { Portal } from "react-portal";
import { Router } from "@app/routes";
import { routerBasePath } from "@utils";
import { queryClient } from "@api/QueryClient";
import { SettingsContext } from "@utils/Context";
import { Portal } from "@components/portal";
declare module '@tanstack/react-router' {
interface Register {