Unified · Split
| @@ -2,6 +2,7 @@ import React from "react"; · 1 unmodified line | |||
| 2 | import { createRootRoute } from "@tanstack/react-router"; | 2 | import { createRootRoute } from "@tanstack/react-router"; |
| 3 | import { ExecutorProvider } from "@executor-js/react/api/provider"; | 3 | import { ExecutorProvider } from "@executor-js/react/api/provider"; |
| 4 | import { ExecutorPluginsProvider } from "@executor-js/sdk/client"; | 4 | import { ExecutorPluginsProvider } from "@executor-js/sdk/client"; |
| 5 | import { Toaster } from "@executor-js/react/components/sonner"; | ||
| 5 | import { plugins as clientPlugins } from "virtual:executor/plugins-client"; | 6 | import { plugins as clientPlugins } from "virtual:executor/plugins-client"; |
| 6 | import { Shell } from "../web/shell"; | 7 | import { Shell } from "../web/shell"; |
| 7 | 8 | ||
| @@ -14,6 +15,7 @@ function RootComponent() { · 6 unmodified lines | |||
| 14 | <ExecutorProvider> | 15 | <ExecutorProvider> |
| 15 | <ExecutorPluginsProvider plugins={clientPlugins}> | 16 | <ExecutorPluginsProvider plugins={clientPlugins}> |
| 16 | <Shell /> | 17 | <Shell /> |
| 18 | <Toaster /> | ||
| 17 | </ExecutorPluginsProvider> | 19 | </ExecutorPluginsProvider> |
| 18 | </ExecutorProvider> | 20 | </ExecutorProvider> |
| 19 | ); | 21 | ); |