re-enable reposts for SIMPLE_SITE

This commit is contained in:
Sean Yesmunt 2020-09-17 11:49:53 -04:00
parent fa2d69f943
commit 51d8d85c60
2 changed files with 16 additions and 16 deletions

View file

@ -56,7 +56,6 @@ function FileActions(props: Props) {
onClick={() => openModal(MODALS.SOCIAL_SHARE, { uri, webShareable })} onClick={() => openModal(MODALS.SOCIAL_SHARE, { uri, webShareable })}
/> />
{!SIMPLE_SITE && (
<div className="button-group"> <div className="button-group">
<Button <Button
button="alt" button="alt"
@ -74,7 +73,7 @@ function FileActions(props: Props) {
/> />
)} )}
</div> </div>
)}
<ClaimSupportButton uri={uri} /> <ClaimSupportButton uri={uri} />
</> </>
); );

View file

@ -92,7 +92,8 @@ function DiscoverPage(props: Props) {
return ( return (
<Page noFooter fullWidthPage={tileLayout}> <Page noFooter fullWidthPage={tileLayout}>
<ClaimListDiscover <ClaimListDiscover
tileLayout={tileLayout} header={<span />}
tileLayout={repostedUri ? false : tileLayout}
claimType={claimType ? [claimType] : undefined} claimType={claimType ? [claimType] : undefined}
headerLabel={headerLabel} headerLabel={headerLabel}
tags={tags} tags={tags}