reactjs draft (not working)