diff --git a/packages/link-list/src/js/react.js b/packages/link-list/src/js/react.js index e12d2cd86..83895d0a8 100644 --- a/packages/link-list/src/js/react.js +++ b/packages/link-list/src/js/react.js @@ -42,9 +42,8 @@ export const AUlinkListItem = ({ text, link, linkComponent, li = {}, children, o // If we are using a normal link if( LinkComponent === 'a' ) { attributeOptions.href = link; - } - // If we are using a link component - else if( typeof LinkComponent === 'function' ) { + } else { + // If we are using a link component attributeOptions.to = link; }