From c1330101e105c1257f065c394c5f4cc8db953e1d Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Wed, 1 Jun 2022 00:24:27 +0300 Subject: [PATCH] fix: types --- src/web/questions/components/QuestionCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/questions/components/QuestionCard/index.tsx b/src/web/questions/components/QuestionCard/index.tsx index 9903c92..7468b92 100644 --- a/src/web/questions/components/QuestionCard/index.tsx +++ b/src/web/questions/components/QuestionCard/index.tsx @@ -63,7 +63,7 @@ const LastUpdated: React.FC<{ timestamp: Date }> = ({ timestamp }) => ( // Main component interface Props { - container: (children: ReactNode) => ReactElement; + container?: (children: ReactNode) => ReactElement; question: QuestionFragment; showTimeStamp: boolean; expandFooterToFullWidth: boolean;