Fix compound tooltips by adding the missing TooltipProvider to the tree

This commit is contained in:
Quentin Gliech
2024-02-07 17:12:51 +01:00
parent afc7f509d9
commit de49241afb

View File

@@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import { TooltipProvider } from "@vector-im/compound-web";
import { Provider } from "jotai";
import { DevTools } from "jotai-devtools";
import { Suspense, StrictMode } from "react";
@@ -33,11 +34,13 @@ createRoot(document.getElementById("root") as HTMLElement).render(
<HydrateAtoms>
<Suspense fallback={<LoadingScreen />}>
<I18nextProvider i18n={i18n}>
<TooltipProvider>
<Layout>
<Suspense fallback={<LoadingSpinner />}>
<Router />
</Suspense>
</Layout>
</TooltipProvider>
</I18nextProvider>
</Suspense>
</HydrateAtoms>