Only show quote disable copy if disabled

This commit is contained in:
Eric Bailey
2024-08-12 10:52:41 -05:00
parent 0de71764cf
commit 6a77323cbe
+10 -12
View File
@@ -320,19 +320,17 @@ function Rules({
</Trans> </Trans>
)}{' '} )}{' '}
</Text> </Text>
<Text {noOneCanQuote && (
style={[ <Text
a.text_sm, style={[
a.leading_snug, a.text_sm,
a.flex_wrap, a.leading_snug,
t.atoms.text_contrast_medium, a.flex_wrap,
]}> t.atoms.text_contrast_medium,
{noOneCanQuote ? ( ]}>
<Trans>No one but the author can quote this post.</Trans> <Trans>No one but the author can quote this post.</Trans>
) : ( </Text>
<Trans>Anyone can quote this post.</Trans> )}
)}
</Text>
</> </>
) )
} }