Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

PR fxies

Sara Vieira54472e3879a2
diff --git a/packages/design-system/src/components/toast.tsx b/packages/design-system/src/components/toast.tsx
index 5e9120adfe..f4b28ccaf0 100644
--- a/packages/design-system/src/components/toast.tsx
+++ b/packages/design-system/src/components/toast.tsx
@@ -1,5 +1,5 @@
import * as ToastPrimitive from "@radix-ui/react-toast";
-import BaseToast, { useToaster } from "react-hot-toast/headless";
+import toast, { useToaster } from "react-hot-toast/headless";
import { keyframes, styled } from "../stitches.config";
import { CheckIcon, Cross1Icon } from "@webstudio-is/icons";
import { Box } from "./box";
@@ -112,4 +112,4 @@ export const Toaster = () => {
);
};
-export const toast = BaseToast;
+export { toast };
diff --git a/packages/design-system/src/index.ts b/packages/design-system/src/index.ts
index 70c38ab2f7..3e3c378ad0 100644
--- a/packages/design-system/src/index.ts
+++ b/packages/design-system/src/index.ts
@@ -11,7 +11,7 @@ export {
theme,
type CSS,
} from "./stitches.config";
-export { toast, Toaster } from "./components/toast";
+export * from "./components/toast";
export * as Collapsible from "@radix-ui/react-collapsible";
export { AccessibleIcon } from "@radix-ui/react-accessible-icon";