diff --git a/api/resolvers/user.js b/api/resolvers/user.js index 796093dff..04be6d688 100644 --- a/api/resolvers/user.js +++ b/api/resolvers/user.js @@ -108,7 +108,6 @@ export const getNameCost = async ({ name, me, models }) => { const distanceResult = await models.$queryRawUnsafe('select name, levenshtein(name, $1) as dist from users where id <> $2 order by dist asc limit 1;', name, me?.id ?? -1) const { dist } = distanceResult[0] let cost = 100000 / Math.pow(10, dist - 1) - console.log({ name, distanceResult, dist, cost }) if (cost < 1) { cost = 0 } diff --git a/components/fee-button.js b/components/fee-button.js index 205c59a0c..8ab1f6a6c 100644 --- a/components/fee-button.js +++ b/components/fee-button.js @@ -168,7 +168,6 @@ export const EditNymFeeButton = ({ onClick }) => { fetchPolicy: 'no-cache', nextFetchPolicy: 'no-cache', onCompleted: data => { - console.log('nameCost', data) setCost(data.nymCost) } })