Skip to content

Commit a59be7d

Browse files
authored
Fix path to main App in React docs (#522)
1 parent 1678b07 commit a59be7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ touch app/javascript/App.css app/javascript/App.js
156156
```jsx
157157
import React from 'react';
158158
import { createRoot } from 'react-dom/client';
159-
import HelloMessage from './App';
159+
import HelloMessage from '../App';
160160

161161
const container = document.getElementById('root');
162162
const root = createRoot(container);

0 commit comments

Comments
 (0)