Skip to content

Commit

Permalink
Fix accidental text-node render
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Feb 23, 2024
1 parent fe364eb commit 090bbc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/com/auth/create/Step2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ export function Step2({
a.gap_sm,
t.atoms.border_contrast_low,
]}>
{uiState.error && (
{uiState.error ? (
<View style={[a.w_full, a.flex_row, a.align_center, a.gap_sm]}>
<IsValidIcon valid={false} />
<Text style={[t.atoms.text, a.text_md, a.flex]}>
{uiState.error}
</Text>
</View>
)}
) : undefined}
<View style={[a.w_full, a.flex_row, a.align_center, a.gap_sm]}>
<IsValidIcon valid={validCheck.handleChars} />
<Text style={[t.atoms.text, a.text_md, a.flex]}>
Expand Down

0 comments on commit 090bbc0

Please sign in to comment.