Rename the react:component template to a .erb file

This commit is contained in:
Eric 2020-06-26 12:49:47 -05:00 committed by Eric Schultz
parent 8a45592e5e
commit c213e4d5d2
2 changed files with 1 additions and 1 deletions

View file

@ -112,7 +112,7 @@ module React
template_extension = if options[:coffee]
'js.jsx.coffee'
elsif options[:ts]
'js.jsx.tsx'
'js.jsx.tsx.erb'
elsif options[:es6] || webpacker?
'es6.jsx'
else