Skip to content

Commit 14971f9

Browse files
committed
Fix typing problems
1 parent fbc9bc2 commit 14971f9

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/common/Modals/Common

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/common/Modals/Common/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const Alert: FunctionComponent<Props> = ({
5959
{onPrimaryAction && (
6060
<Button
6161
variant={type}
62-
title={confirmMessage}
62+
title={typeof confirmMessage === 'string' ? confirmMessage : null}
6363
css={css({
6464
width: 'auto',
6565
})}

0 commit comments

Comments
 (0)