Skip to content

Commit d328352

Browse files
committed
refactor(example): change componentWillMount to componentDidMount
1 parent 36de99a commit d328352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class App extends React.Component {
5555
/**
5656
* @inheritDoc
5757
*/
58-
componentWillMount() {
58+
componentDidMount() {
5959
firebaseApp.auth().onAuthStateChanged((user) => {
6060
this.setState({signedIn: !!user});
6161
});

0 commit comments

Comments
 (0)