fix: fixed anchor link for view conversation (#3006)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Wyatt Johnson
2020-06-26 21:36:10 +00:00
committed by GitHub
parent 878c3bb3c0
commit ccb8f1defa
3 changed files with 6 additions and 4 deletions
@@ -87,6 +87,7 @@ const HistoryComment: FunctionComponent<HistoryCommentProps> = (props) => {
</div>
)}
<Button
anchor
target="_parent"
href={props.conversationURL}
onClick={props.onGotoConversation}
@@ -63,6 +63,7 @@ exports[`renders correctly 1`] = `
</Localized>
</div>
<ForwardRef(forwardRef)
anchor={true}
className="HistoryComment-viewConversation coral coral-myComment-viewConversationButton"
classes={
Object {
@@ -59,7 +59,7 @@ exports[`renders profile 1`] = `
<div
className="Box-root Flex-root HistoryComment-footer Flex-flex Flex-doubleItemGutter Flex-alignCenter Flex-directionRow gutter"
>
<button
<a
className="BaseButton-root Button-root Button-sizeRegular HistoryComment-sizeRegular Button-colorRegular HistoryComment-colorRegular Button-variantTextUnderlined HistoryComment-variantTextUnderlined HistoryComment-viewConversation coral coral-myComment-viewConversationButton"
data-color="regular"
data-variant="textUnderlined"
@@ -84,7 +84,7 @@ exports[`renders profile 1`] = `
</i>
View Conversation
</div>
</button>
</a>
</div>
</div>
<div
@@ -140,7 +140,7 @@ exports[`renders profile 1`] = `
<div
className="Box-root Flex-root HistoryComment-footer Flex-flex Flex-doubleItemGutter Flex-alignCenter Flex-directionRow gutter"
>
<button
<a
className="BaseButton-root Button-root Button-sizeRegular HistoryComment-sizeRegular Button-colorRegular HistoryComment-colorRegular Button-variantTextUnderlined HistoryComment-variantTextUnderlined HistoryComment-viewConversation coral coral-myComment-viewConversationButton"
data-color="regular"
data-variant="textUnderlined"
@@ -165,7 +165,7 @@ exports[`renders profile 1`] = `
</i>
View Conversation
</div>
</button>
</a>
</div>
</div>
<button