Apply suggestions from code review

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
Samuel Newman
2025-03-31 10:05:27 -07:00
committed by Eric Bailey
parent 52fe45ea41
commit b4aa67572d
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -299,12 +299,16 @@ function SaveButtonInner({
{savedFeedConfig ? (
<>
{isPending && <ButtonIcon size="md" icon={Loader} />}
<ButtonText>Unpin Feed</ButtonText>
<ButtonText>
<Trans>Unpin Feed</Trans>
</ButtonText>
</>
) : (
<>
<ButtonIcon size="md" icon={isPending ? Loader : PinIcon} />
<ButtonText>Pin Feed</ButtonText>
<ButtonText>
<Trans>Pin Feed</Trans>
</ButtonText>
</>
)}
</Button>
+1 -1
View File
@@ -128,7 +128,7 @@ function EmptyState({message, error}: {message: string; error?: string}) {
/>
<Text style={[t.atoms.text_contrast_medium]}>
<Trans>Error:</Trans> {error}
<Trans>Error: {error}</Trans>
</Text>
</>
)}