From 69bb48b7e1c49a47b0a16263b2a2b57c4890cbdd Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Tue, 30 Nov 2021 15:18:54 -0600 Subject: [PATCH] fix: failing CI issues (#44339) --- client/src/templates/Introduction/components/block.tsx | 2 +- client/src/templates/Introduction/components/cert-challenge.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/templates/Introduction/components/block.tsx b/client/src/templates/Introduction/components/block.tsx index 6ac690dafd..7d4b255bcf 100644 --- a/client/src/templates/Introduction/components/block.tsx +++ b/client/src/templates/Introduction/components/block.tsx @@ -32,7 +32,7 @@ const mapStateToProps = ( isExpanded, completedChallengeIds: completedChallenges.map(({ id }) => id) }) - )(state); + )(state as Record); }; const mapDispatchToProps = (dispatch: Dispatch) => diff --git a/client/src/templates/Introduction/components/cert-challenge.tsx b/client/src/templates/Introduction/components/cert-challenge.tsx index dc3369b800..81e4327aad 100644 --- a/client/src/templates/Introduction/components/cert-challenge.tsx +++ b/client/src/templates/Introduction/components/cert-challenge.tsx @@ -53,7 +53,7 @@ const mapStateToProps = (state: unknown) => { fetchState, isSignedIn }) - )(state); + )(state as Record); }; const mapDispatchToProps = {