Skip to content

Commit

Permalink
chore: fix more inapp ts strict errors (#3413)
Browse files Browse the repository at this point in the history
  • Loading branch information
reesscot authored Feb 13, 2023
1 parent 8d6adca commit f247472
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function getMessageStyles({
...overrideStyle?.body,
},
// close button style - not defined in payload, override only
closeIconButton: overrideStyle?.closeIconButton,
closeIconButton: overrideStyle?.closeIconButton ?? {},
// message container style
container: {
...payloadStyle?.container,
Expand All @@ -62,7 +62,7 @@ export function getMessageStyles({
...overrideStyle?.header,
},
// image style - not defined in payload, override only
image: overrideStyle?.image,
image: overrideStyle?.image ?? {},
// message primary button style
primaryButton: {
...payloadStyle?.primaryButton,
Expand Down

0 comments on commit f247472

Please sign in to comment.