Skip to content

Commit

Permalink
Fix(web-react): Import components from file intead of the index
Browse files Browse the repository at this point in the history
  * causing "Module not found"
  * UncontrolledToast.js contains a reference to the file "."
  • Loading branch information
literat committed Jun 10, 2024
1 parent 32f2d76 commit cee0301
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cee0301

Please sign in to comment.