Most likely caused by the `styled-components` module trying to set the style using `data-test-id` prop. If `data-test-id` is null, `styled-components` fails to set the component up.
@@ -54,7 +54,7 @@ class CopyMultineValue extends React.Component<Props> {
return (
<Wrapper
onClick={() => { this.handleCopy() }}
- data-test-id={this.props['data-test-id'] || 'copyMultilineValue'}
+ data-test-id={(this.props && this.props['data-test-id']) || 'copyMultilineValue'}
>
{this.props.value}
<CopyButton />
@@ -44,7 +44,6 @@ const ColumnsLayout = styled.div`
`
const Column = styled.div`
${props => StyleProps.exactWidth(props.width)}
- /* width: ${props => props.width}; */
const Arrow = styled.div`
width: 34px;