Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setBorderStyleState() {
const isFullyBordered = ReadableContentView.isContentMaxWidth();
if ( isFullyBordered !== this.state.isFullyBordered ) {
this.setState( { isFullyBordered } );
}
}
setBorderStyleState() {
const isFullyBordered = ReadableContentView.isContentMaxWidth();
if ( isFullyBordered !== this.state.isFullyBordered ) {
this.setState( { isFullyBordered } );
}
}