diff --git a/app/containers/Toast.tsx b/app/containers/Toast.tsx index 781ad5b59..cd538734c 100644 --- a/app/containers/Toast.tsx +++ b/app/containers/Toast.tsx @@ -13,8 +13,9 @@ const styles = StyleSheet.create({ }, text: { fontSize: 14, - ...sharedStyles.textRegular, - ...sharedStyles.textAlignCenter + // jest error: TypeError: Cannot read property 'textRegular' of undefined + ...sharedStyles?.textRegular, + ...sharedStyles?.textAlignCenter } });