Apply suggestions from code review
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
committed by
Eric Bailey
parent
52fe45ea41
commit
b4aa67572d
@@ -299,12 +299,16 @@ function SaveButtonInner({
|
|||||||
{savedFeedConfig ? (
|
{savedFeedConfig ? (
|
||||||
<>
|
<>
|
||||||
{isPending && <ButtonIcon size="md" icon={Loader} />}
|
{isPending && <ButtonIcon size="md" icon={Loader} />}
|
||||||
<ButtonText>Unpin Feed</ButtonText>
|
<ButtonText>
|
||||||
|
<Trans>Unpin Feed</Trans>
|
||||||
|
</ButtonText>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<ButtonIcon size="md" icon={isPending ? Loader : PinIcon} />
|
<ButtonIcon size="md" icon={isPending ? Loader : PinIcon} />
|
||||||
<ButtonText>Pin Feed</ButtonText>
|
<ButtonText>
|
||||||
|
<Trans>Pin Feed</Trans>
|
||||||
|
</ButtonText>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ function EmptyState({message, error}: {message: string; error?: string}) {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<Text style={[t.atoms.text_contrast_medium]}>
|
<Text style={[t.atoms.text_contrast_medium]}>
|
||||||
<Trans>Error:</Trans> {error}
|
<Trans>Error: {error}</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user