diff --git a/functions/src/create-notification.ts b/functions/src/create-notification.ts index 6cc7631e..b0175a6a 100644 --- a/functions/src/create-notification.ts +++ b/functions/src/create-notification.ts @@ -16,7 +16,7 @@ import { getContractBetMetrics } from '../../common/calculate' import { removeUndefinedProps } from '../../common/util/object' import { TipTxn } from '../../common/txn' import { Group, GROUP_CHAT_SLUG } from '../../common/group' -import { Challenge } from 'common/lib/challenge' +import { Challenge } from '../../common/challenge' const firestore = admin.firestore() type user_to_reason_texts = { diff --git a/web/components/challenges/create-challenge-button.tsx b/web/components/challenges/create-challenge-button.tsx index d3490ff8..555de771 100644 --- a/web/components/challenges/create-challenge-button.tsx +++ b/web/components/challenges/create-challenge-button.tsx @@ -11,7 +11,7 @@ import { DuplicateIcon } from '@heroicons/react/outline' import { createChallenge, getChallengeUrl } from 'web/lib/firebase/challenges' import { Contract } from 'common/contract' import { CopyLinkButton } from 'web/components/copy-link-button' -import { getOutcomeProbability } from 'common/lib/calculate' +import { getOutcomeProbability } from 'common/calculate' import { SiteLink } from 'web/components/site-link' type challengeInfo = {