Skip to content

Commit 22f7d28

Browse files
ihabadhamclaude
andcommitted
fix: update import paths in serverRegistration.jsx for React on Rails v16
- Update imports to use new ror_components directory structure - Fix paths for App, RouterApp, SimpleCommentScreen, NavigationBarApp, Footer - Use RouterApp.server for server-side registration - Resolves ESLint import/no-unresolved errors in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7be827c commit 22f7d28

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/app/bundles/comments/startup/serverRegistration.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Example of React + Redux
22
import ReactOnRails from 'react-on-rails';
33

4-
import App from './App';
5-
import RouterApp from './ServerRouterApp';
6-
import SimpleCommentScreen from '../components/SimpleCommentScreen/SimpleCommentScreen';
7-
import NavigationBarApp from './NavigationBarApp';
4+
import App from './App/ror_components/App';
5+
import RouterApp from './RouterApp/ror_components/RouterApp.server';
6+
import SimpleCommentScreen from '../components/SimpleCommentScreen/ror_components/SimpleCommentScreen';
7+
import NavigationBarApp from './NavigationBarApp/ror_components/NavigationBarApp';
88
import routerCommentsStore from '../store/routerCommentsStore';
99
import commentsStore from '../store/commentsStore';
10-
import Footer from '../components/Footer/Footer';
10+
import Footer from '../components/Footer/ror_components/Footer';
1111

1212
ReactOnRails.register({
1313
App,

0 commit comments

Comments
 (0)