Skip to content

Commit 57224be

Browse files
committed
linting
1 parent 296f606 commit 57224be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/generators/react_on_rails/react_with_redux_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ def copy_base_files
1818
base_files = %w[app/javascript/bundles/HelloWorld/components/HelloWorld.jsx
1919
app/javascript/bundles/HelloWorld/components/HelloWorld.module.css]
2020
base_files.each { |file| copy_file("#{base_js_path}/#{file}", file) }
21-
21+
2222
# Also copy to new auto-registration structure for server-side rendering compatibility
2323
copy_file("#{base_js_path}/app/javascript/bundles/HelloWorld/components/HelloWorld.jsx",
2424
"app/javascript/src/HelloWorld/ror_components/HelloWorld.jsx")
2525
copy_file("#{base_js_path}/app/javascript/bundles/HelloWorld/components/HelloWorld.module.css",
2626
"app/javascript/src/HelloWorld/HelloWorld.module.css")
27-
27+
2828
# Fix CSS import path in the ror_components version
2929
ror_component_file = "app/javascript/src/HelloWorld/ror_components/HelloWorld.jsx"
3030
gsub_file(ror_component_file, "./HelloWorld.module.css", "../HelloWorld.module.css")

0 commit comments

Comments
 (0)