From ee4723504f54de9d9f30121353b9df1498bd0e22 Mon Sep 17 00:00:00 2001 From: Fateme Khodayari Date: Sun, 12 Nov 2023 15:51:22 +0330 Subject: [PATCH 1/3] fix: wrong input argument in ErrorBanner --- src/components/FilePreview/Banners/ErrorBanner.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/FilePreview/Banners/ErrorBanner.jsx b/src/components/FilePreview/Banners/ErrorBanner.jsx index 4be244c0..073c3606 100644 --- a/src/components/FilePreview/Banners/ErrorBanner.jsx +++ b/src/components/FilePreview/Banners/ErrorBanner.jsx @@ -10,7 +10,7 @@ const messageShape = PropTypes.shape({ defaultMessage: PropTypes.string, }); -export const ErrorBanner = ({ actions, headingMessage, children }) => { +export const ErrorBanner = ({ actions, headerMessage, children }) => { const actionButtons = actions.map(action => (