Skip to content

Commit

Permalink
field cannot be saved if len < 0
Browse files Browse the repository at this point in the history
  • Loading branch information
epixieme committed Jan 3, 2024
1 parent 09a47bc commit d1bc47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/conversations/components/ConversationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function ConversationCard({ conversation, onDelete }: Props) {
/>
)}
</Pressable>
{editableField && (
{editableField && userBName.length > 0 &&(
<Pressable onPress={handleSaveField}>
<MaterialIcons
name="check"
Expand Down

0 comments on commit d1bc47f

Please sign in to comment.