fix invlalid use of react (related to diml/utop#114)