diff --git a/apps/main/src/entities/gauge/api/rewards-mutate.ts b/apps/main/src/entities/gauge/api/rewards-mutate.ts index 352a9eb7..c3a0ff0c 100644 --- a/apps/main/src/entities/gauge/api/rewards-mutate.ts +++ b/apps/main/src/entities/gauge/api/rewards-mutate.ts @@ -14,7 +14,6 @@ import useStore from '@/store/useStore' export const mutateAddRewardToken = async ({ poolId, rewardTokenId, distributorId }: AddRewardQuery): Promise => { const { curve } = useStore.getState() - console.log('mutateAddRewardToken', poolId, rewardTokenId, distributorId) const pool = curve.getPool(poolId) return pool.gauge.addReward(rewardTokenId, distributorId) } diff --git a/apps/main/src/entities/gauge/model/mutate-options.ts b/apps/main/src/entities/gauge/model/mutate-options.ts index 47d29125..7fb8e718 100644 --- a/apps/main/src/entities/gauge/model/mutate-options.ts +++ b/apps/main/src/entities/gauge/model/mutate-options.ts @@ -29,10 +29,8 @@ import { import { gaugeKeys as keys } from './query-keys' export const getAddRewardTokenMutation = (gauge: GaugeParams) => ({ - mutationFn: async (params: AddRewardMutation) => { - console.log('AddRewardToken', params); - return api.mutateAddRewardToken(assertValidity(gaugeAddRewardValidationSuite, { ...gauge, ...params })) - }, + mutationFn: async (params: AddRewardMutation) => + api.mutateAddRewardToken(assertValidity(gaugeAddRewardValidationSuite, { ...gauge, ...params })), mutationKey: keys.addRewardToken(gauge), meta: { queryKeyFn: ({ rewardTokenId, distributorId }: AddRewardParams) => diff --git a/apps/main/src/features/add-gauge-reward-token/ui/AddRewardToken.tsx b/apps/main/src/features/add-gauge-reward-token/ui/AddRewardToken.tsx index 174b5b02..7dd8c900 100644 --- a/apps/main/src/features/add-gauge-reward-token/ui/AddRewardToken.tsx +++ b/apps/main/src/features/add-gauge-reward-token/ui/AddRewardToken.tsx @@ -52,7 +52,6 @@ export const AddRewardToken: React.FC = ({ chainId, poolId const onSubmit = useCallback( ({ rewardTokenId, distributorId }: AddRewardFormValues) => { - console.log('onSubmit', { rewardTokenId, distributorId, chainId, poolId }) addRewardToken( { rewardTokenId, distributorId }, {