Fix button

This commit is contained in:
Rafael 2022-03-16 11:55:37 -03:00 committed by Thomas Zarebczan
parent 7400b9c12f
commit d3576315f3

View file

@ -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>