Skip to content

Commit 956edf4

Browse files
Merge pull request #32 from reddit/fixPostingIssue
Fixes issue where you can't post a new challenge
2 parents 32e5f15 + e865931 commit 956edf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/classic/src/core/challenge.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import {
1414
import { GameMode } from '@hotandcold/classic-shared';
1515

1616
import { Post, RedisClient, RichTextBuilder } from '@devvit/public-api';
17+
// For some reason <Preview /> requires this import, but the import is being found as unused.
18+
// Suppress the check for it
19+
import { Devvit } from '@devvit/public-api'; // eslint-disable-line @typescript-eslint/no-unused-vars
1720

1821
export * as Challenge from './challenge.js';
1922

0 commit comments

Comments
 (0)