diff --git a/common/contest.ts b/common/contest.ts index 6c272a79..a9c09801 100644 --- a/common/contest.ts +++ b/common/contest.ts @@ -1,5 +1,3 @@ -import { GROUP_CHAT_SLUG } from 'common/group' - type Contest = { link: string description: string @@ -8,9 +6,9 @@ type Contest = { closeTime: string } -export let contest_data: { [name: string]: Contest } = {} +export const CONTEST_DATA: { [name: string]: Contest } = {} -contest_data['cause-exploration-prize'] = { +CONTEST_DATA['cause-exploration-prize'] = { link: 'https://www.causeexplorationprizes.com/', description: 'Open Philanthropy’s contest to find ideas for the best ways to use their resources, with focus on new areas to support, health development, and worldview investigations.', @@ -21,4 +19,4 @@ contest_data['cause-exploration-prize'] = { closeTime: '2022-09-01', } -export const CONTEST_SLUGS = Object.keys(contest_data) +export const CONTEST_SLUGS = Object.keys(CONTEST_DATA)