From b89c31c0d11c3b1995894a8963fa0d5e851fa266 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 1 Dec 2021 20:01:12 +0100 Subject: [PATCH] fix: use the previewMounted connected to redux (#44336) --- client/src/templates/Challenges/classic/show.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/templates/Challenges/classic/show.tsx b/client/src/templates/Challenges/classic/show.tsx index 02c0671a02..04ebd09bc2 100644 --- a/client/src/templates/Challenges/classic/show.tsx +++ b/client/src/templates/Challenges/classic/show.tsx @@ -103,6 +103,7 @@ interface ShowClassicProps { updateChallengeMeta: (arg0: ChallengeMeta) => void; openModal: (modal: string) => void; setEditorFocusability: (canFocus: boolean) => void; + previewMounted: () => void; } interface ShowClassicState { @@ -375,7 +376,7 @@ class ShowClassic extends Component { ); }