From cee0301ff2de0d87cd34d5ac2dd9786e0e75cfbb Mon Sep 17 00:00:00 2001 From: literat Date: Mon, 10 Jun 2024 14:05:31 +0200 Subject: [PATCH] Fix(web-react): Import components from file intead of the index * causing "Module not found" * UncontrolledToast.js contains a reference to the file "." --- packages/web-react/src/components/Toast/UncontrolledToast.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web-react/src/components/Toast/UncontrolledToast.tsx b/packages/web-react/src/components/Toast/UncontrolledToast.tsx index 1580710a85..a5782013f4 100644 --- a/packages/web-react/src/components/Toast/UncontrolledToast.tsx +++ b/packages/web-react/src/components/Toast/UncontrolledToast.tsx @@ -2,8 +2,9 @@ import React from 'react'; import { UncontrolledToastProps } from '../../types'; import Toast from './Toast'; import ToastBar from './ToastBar'; +import ToastBarLink from './ToastBarLink'; +import ToastBarMessage from './ToastBarMessage'; import { useToast } from './useToast'; -import { ToastBarLink, ToastBarMessage } from '.'; const UncontrolledToast = (props: UncontrolledToastProps) => { const { alignmentX, alignmentY, isCollapsible, closeLabel, ...restProps } = props;