From 8708f1dfc61d6265ee930c02c926f074fde6fdeb Mon Sep 17 00:00:00 2001 From: Muhamed Date: Sat, 27 May 2023 16:33:26 +0530 Subject: fix: InfoBar crash app on update --- src/components/ui/InfoBar.tsx | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'src/components/ui') diff --git a/src/components/ui/InfoBar.tsx b/src/components/ui/InfoBar.tsx index ef8f6ad6f..bdc12510d 100644 --- a/src/components/ui/InfoBar.tsx +++ b/src/components/ui/InfoBar.tsx @@ -56,7 +56,14 @@ class InfoBar extends Component { [`${className}`]: true, })} > -
+
{children} {ctaLabel && ( )} + {!sticky && ( + + )}
- {!sticky && ( - - )} ); } -- cgit v1.2.3-54-g00ecf