I'm creating a React app, and I have a code segment that looks like this:

```
import React, { Component } from 'react';
import { RaisedButton } from 'material-ui';

let isZero = false;

class Button extends Component {
    render() {
        const { value } = this.props;

        isZero = false;
        if (value === 0) {
            isZero = true;
        }

        // removed for brevity
    }
}

const styles = {
    otherStyles: {
        minWidth: isZero ? '120px' : '60px',
        margin: '5px 5px 5px 0',
        lineHeight: isZero ? '120px' : '60px',
    },
};

export default Button;

```

But, apparently the conditional statement is not applied inside the object, as when `value` is 0, I still get the `60px` instead of `120px`. Any ideas?