Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions packages/link-list/src/js/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down