Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Updates firebase to prevent uninitialized app error.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscox committed Mar 15, 2017
1 parent e84b3c1 commit 27c95fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"webpack-dev-server": "^2.2.0"
},
"dependencies": {
"firebase": "^3.6.5",
"firebase": "^3.7.2",
"lodash.throttle": "^4.1.1",
"material-design-lite": "^1.2.1",
"react": "^15.4.0",
Expand Down
6 changes: 2 additions & 4 deletions src/core/Remixer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,10 @@ class Remixer {
* configuration if you wish to use the remote
* controller.
*/
static start(remoteConfig?: {}): void {
static start(remoteConfig: {} = {}): void {
this._sharedInstance.appendFrameToBody();
this._sharedInstance.addKeyListener();
if (remoteConfig) {
Remote.initializeRemote(remoteConfig);
}
Remote.initializeRemote(remoteConfig);
}

/**
Expand Down

0 comments on commit 27c95fc

Please sign in to comment.