From 145ed0ab1a0408bf96ed068d7c138c36aa0c8cc3 Mon Sep 17 00:00:00 2001 From: situchan Date: Wed, 24 May 2023 13:12:38 +0100 Subject: [PATCH] fix invalid prop type of animation on tfa auth success --- src/components/ConfirmationPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ConfirmationPage.js b/src/components/ConfirmationPage.js index aa8cccaa36e..68110d6765f 100644 --- a/src/components/ConfirmationPage.js +++ b/src/components/ConfirmationPage.js @@ -10,7 +10,8 @@ import FixedFooter from './FixedFooter'; const propTypes = { /** The asset to render */ - animation: PropTypes.string, + // eslint-disable-next-line react/forbid-prop-types + animation: PropTypes.object, /** Heading of the confirmation page */ heading: PropTypes.string,