Remove console logs
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
toqvist 2024-04-07 19:43:08 +02:00
parent 9be7ae81ae
commit f30199e5f8
3 changed files with 1 additions and 6 deletions

View File

@ -116,7 +116,6 @@ export const KiosMap = () => {
timeSensitive: false,
status: "requested",
}
console.log(dispatch)
createDispatchMutation.mutate(dispatch)
}

View File

@ -36,7 +36,7 @@ const loginFetch = async (email: string, password: string) => {
}),
})
} catch (err) {
console.log(err)
console.error(err)
}
};

View File

@ -135,18 +135,14 @@ const getRetailersByAdminId = async (user: User | undefined) => {
let myRetailers: Retailer[] = []
for (let retailer of retailers) {
console.log(retailer)
if(retailer.admins) {
for (let admin of retailer.admins) {
console.log(admin)
if(admin.id === adminId) {
myRetailers.push(retailer)
}
}
}
}
console.log("myRetailers:", myRetailers)
return myRetailers;
}