Fix button
This commit is contained in:
parent
7400b9c12f
commit
d3576315f3
1 changed files with 3 additions and 9 deletions
|
@ -221,15 +221,9 @@ const EmbedWrapperPage = (props: Props) => {
|
||||||
<>
|
<>
|
||||||
<FileViewerEmbeddedTitle uri={uri} />
|
<FileViewerEmbeddedTitle uri={uri} />
|
||||||
|
|
||||||
<Button
|
<a target="_blank" rel="noopener noreferrer" href={formatLbryUrlForWeb(uri)}>
|
||||||
onClick={() => {
|
<Button iconSize={30} title={__('View')} className="button--icon button--view" />
|
||||||
const formattedUrl = formatLbryUrlForWeb(uri);
|
</a>
|
||||||
push(formattedUrl);
|
|
||||||
}}
|
|
||||||
iconSize={30}
|
|
||||||
title={__('View')}
|
|
||||||
className="button--icon button--view"
|
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue