From f775b227c73df6318961e56b0a3bec2da8dfa5b9 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Thu, 7 Nov 2019 06:10:59 +0900 Subject: [PATCH] Fix type error --- components/save_button.tsx | 2 +- components/widgets/icons/fa_previous_icon.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/save_button.tsx b/components/save_button.tsx index ad953734f301..81496e8f1b1f 100644 --- a/components/save_button.tsx +++ b/components/save_button.tsx @@ -8,7 +8,7 @@ import LoadingWrapper from 'components/widgets/loading/loading_wrapper'; type Props = { intl: IntlShape; - saving: boolean; + saving?: boolean; disabled?: boolean; id?: string; onClick?: (e: React.MouseEvent) => void; diff --git a/components/widgets/icons/fa_previous_icon.tsx b/components/widgets/icons/fa_previous_icon.tsx index 2683020311c7..a979d480ed13 100644 --- a/components/widgets/icons/fa_previous_icon.tsx +++ b/components/widgets/icons/fa_previous_icon.tsx @@ -11,7 +11,6 @@ type Props = { type DefaultProps = { additionalClassName: string | null; - intl: IntlShape; } class PreviousIcon extends React.PureComponent {