when I run my code, I get the following error:

Invalid shorthand property initializer.

```js
function DisplyayNote() {
    let noteId = -1;
    const [isOpen, setIsOpen] = useState(false);

    return isOpen ? (
        {noteId = 0 ? <div className="backComponent">
        <div className="noteOpen">
            <div>C'est ouvert</div>
            <button onClick={() => setIsOpen(false)}>Fermer</button>
        </div>
    </div> : null}
    ) : (
        <>
            <div>C'est fermé</div>
            <button onClick={() => setIsOpen(true)}>Ouvrir</button>
        </>
    );
}
```

Would you have an idea to solve this problem?