diff --git a/rollup.config.js b/rollup.config.js index 0370b6cc..a4a08289 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -87,5 +87,6 @@ export default [ }), ], external: [/\.css$/], //, /\.d\.ts$/ + watch: false, }, ] diff --git a/src/Components/Profile/Subcomponents/ProfileTextView.tsx b/src/Components/Profile/Subcomponents/ProfileTextView.tsx index 9fc35bbb..f2f1d283 100644 --- a/src/Components/Profile/Subcomponents/ProfileTextView.tsx +++ b/src/Components/Profile/Subcomponents/ProfileTextView.tsx @@ -17,9 +17,7 @@ export const ProfileTextView = ({ }) => { const text = get(item, dataField) - if (typeof text !== 'string') { - throw new Error('ProfileTextView: text is not a string') - } + const parsedText = typeof text !== 'string' ? '' : text return (