One of my React components is misbehaving. In a sense that it renders the wrong HTML code when state is set to true:
true
import React, { useState, useEff