fixed require react statement