react - remove moot type attr