From 567da0c0bfffe45623e12d7ae37635bd04d86de0 Mon Sep 17 00:00:00 2001 From: Kevin Ghadyani Date: Mon, 10 Oct 2022 14:04:57 -0500 Subject: [PATCH] fix: link icon wasn't optional --- packages/odyssey-react-mui/src/components/Link/Link.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/odyssey-react-mui/src/components/Link/Link.tsx b/packages/odyssey-react-mui/src/components/Link/Link.tsx index 82c3e2b6cb..b7e770ca7f 100644 --- a/packages/odyssey-react-mui/src/components/Link/Link.tsx +++ b/packages/odyssey-react-mui/src/components/Link/Link.tsx @@ -24,7 +24,7 @@ export const Link = forwardRef( const { icon, children, target } = props; return ( - {icon} + {icon && {icon}} {children} {target === "_blank" && (