Skip to content

Commit e67c6f6

Browse files
Load the app at startup
1 parent 0864fa0 commit e67c6f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example/src/App.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17+
// React core.
1718
import React from 'react';
19+
import ReactDOM from 'react-dom';
20+
21+
// Firebase.
1822
import firebase from 'firebase/app';
1923
import 'firebase/auth';
2024
import { FirebaseAuth } from 'react-firebaseui';
25+
26+
// Styles
2127
import styles from './app.css'; // This uses CSS modules.
2228
import './firebaseui-styling.global.css'; // Import globally.
2329

@@ -72,3 +78,6 @@ export default class App extends React.Component {
7278
)
7379
}
7480
}
81+
82+
// Load the app in the browser.
83+
ReactDOM.render(<App/>, document.getElementById('app'));

0 commit comments

Comments
 (0)