Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LeshaInc committed Feb 24, 2024
1 parent 00998e2 commit 5e0b0e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions app/account/[login]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ function Modal({onClose}: any) {
}
};

console.log("BREED ID", breed && breed.id)
console.log("BLOOD ID", bloodType && bloodType)

const [addPetInfo, { isLoading }] = useAddPetMutation();
const [addVaccinationMutation] = useAddVaccinationMutation();

Expand All @@ -72,8 +69,6 @@ function Modal({onClose}: any) {
weight
};

console.log("ADDING", petInfo)

try {
const result: any = await addPetInfo(petInfo);
let idPet = 1;
Expand Down
2 changes: 0 additions & 2 deletions app/components/PetCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ function EditModal({onClose, pet, vaccinations: vaccinationsInit}: any) {
weight
};

console.log("NEW PET breed", breed)

try {
const result: any = await editPetInfo(petInfo);
let idPet = 1;
Expand Down
4 changes: 0 additions & 4 deletions app/components/Selector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,10 @@ interface BloodTypeSelectorProps {

// // if (data && !value && petType && !optional) {
// // if (data[0].typeName == petType.type) {
// // console.log("SUCK MY DICK", data[0])
// // onChange(data[0].id)
// // }
// // }

// console.log("suck my dick", value, petType)

// // if (data && petType && !optional && (!value || value.type != petType.type)) {
// // if (data[1].type == petType.type) {
// // onChange(data[1].id)
Expand All @@ -138,7 +135,6 @@ export const BloodTypeSelector = ({petType, value, onChange, optional}: BloodTyp

if (data && petType && !optional && (!value || (value as any).typeName != petType.type)) {
if ((data[0] as any).typeName == petType.type) {
console.log("FUCKING ", data[0]);
onChange(data[0])
}
}
Expand Down

0 comments on commit 5e0b0e3

Please sign in to comment.