Skip to content

Commit

Permalink
fix toast
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Mar 5, 2024
1 parent bc7bded commit d68a16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function ToastContent(props: ToastContentProps) {
if (typeof t.message === 'string') {
content = t.message;
} else {
if (!t.message) return;
if (!t.message) return null;
content = (t.message as CallableFunction)().props.children;
}

Expand Down

0 comments on commit d68a16a

Please sign in to comment.