Skip to content

Commit

Permalink
🐛 fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogomes18 committed Jul 16, 2024
1 parent d1d2496 commit e1fc645
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/components/Cards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type IVendedor = {
supervisorId?: string;
companyId: string;
stage: string;
blocked?:boolean;
blocked?: boolean;
};

const Cards: React.FC<IVendedor> = ({
Expand All @@ -37,9 +37,9 @@ const Cards: React.FC<IVendedor> = ({
cargo: cargo,
companyId: companyId,
stage: stage,
}); }

}
});
}
};
const formattedNota =
nota !== undefined ? nota.toFixed(1).replace('.', ',') : '';

Expand All @@ -60,7 +60,7 @@ const Cards: React.FC<IVendedor> = ({
fetchSupervisor();
}, [companyId, supervisorId, user.job]);
return (
<S.DivWrapper onPress={handlePress}disabled={blocked}>
<S.DivWrapper onPress={handlePress} disabled={blocked}>
<S.DivImage>
<S.ImageVendedor
source={require('@assets/img/cardVendedor/foto.png')}
Expand Down
1 change: 0 additions & 1 deletion src/components/QuestionSection/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ export const TextBtn = styled(Text)`
color: #fff;
font-size: 14px;
`;

2 changes: 1 addition & 1 deletion src/screens/EvaluateVisit/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ export const BtnFinished = styled(TouchableOpacity)`
align-items: center;
border-radius: 8px;
margin: 0px auto;
`;
`;

0 comments on commit e1fc645

Please sign in to comment.