Skip to content

Commit b7d8dcf

Browse files
committed
fix toast
1 parent 6c21b63 commit b7d8dcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-components/src/components/toast-body.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Link } from './leafygreen';
2+
import { Link, Body } from './leafygreen';
33
import { css } from '@leafygreen-ui/emotion';
44

55
const toastBodyFlexStyles = css({
@@ -34,7 +34,7 @@ export function ToastBody({
3434
}) {
3535
return (
3636
<div className={toastBodyFlexStyles}>
37-
<p className={toastBodyTextStyles}>{statusMessage}</p>
37+
<Body className={toastBodyTextStyles}>{statusMessage}</Body>
3838
{!!actionHandler && (
3939
<Link
4040
as="button"

0 commit comments

Comments
 (0)