mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 13:11:57 +08:00
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:
@@ -87,6 +87,7 @@ const HistoryComment: FunctionComponent<HistoryCommentProps> = (props) => {
|
||||
</div>
|
||||
)}
|
||||
<Button
|
||||
anchor
|
||||
target="_parent"
|
||||
href={props.conversationURL}
|
||||
onClick={props.onGotoConversation}
|
||||
|
||||
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user