Skip to content

Commit

Permalink
Fix path to main App in React docs (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeprime authored Oct 29, 2024
1 parent 1678b07 commit a59be7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ touch app/javascript/App.css app/javascript/App.js
```jsx
import React from 'react';
import { createRoot } from 'react-dom/client';
import HelloMessage from './App';
import HelloMessage from '../App';

const container = document.getElementById('root');
const root = createRoot(container);
Expand Down

0 comments on commit a59be7d

Please sign in to comment.