Skip to content

Commit 250eabc

Browse files
authored
mount Toaster in local app (#764)
1 parent 229e044 commit 250eabc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/local/src/routes/__root.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import { createRootRoute } from "@tanstack/react-router";
33
import { ExecutorProvider } from "@executor-js/react/api/provider";
44
import { ExecutorPluginsProvider } from "@executor-js/sdk/client";
5+
import { Toaster } from "@executor-js/react/components/sonner";
56
import { plugins as clientPlugins } from "virtual:executor/plugins-client";
67
import { Shell } from "../web/shell";
78

@@ -14,6 +15,7 @@ function RootComponent() {
1415
<ExecutorProvider>
1516
<ExecutorPluginsProvider plugins={clientPlugins}>
1617
<Shell />
18+
<Toaster />
1719
</ExecutorPluginsProvider>
1820
</ExecutorProvider>
1921
);

0 commit comments

Comments
 (0)