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

Commit

Permalink
Revert "Work around facebook/create-react-app#4053"
Browse files Browse the repository at this point in the history
This reverts commit 787ca07.
  • Loading branch information
sharils committed Apr 12, 2018
1 parent 4920a12 commit 561faa2
Show file tree
Hide file tree
Showing 6 changed files with 641 additions and 845 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"firebase": "^4.10.1",
"prop-types": "^15.6.0",
"ramda": "^0.25.0",
"react": "^16.2.0",
Expand Down
6 changes: 0 additions & 6 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase-database.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.10.1/firebase-messaging.js"></script>
</head>
<body>
<noscript>
Expand Down
7 changes: 0 additions & 7 deletions src/firebase.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/init/initializeApp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as firebase from "firebase";
import { call, take } from "redux-saga/effects";
import { LOGIN, LOGOUT, loginSaga, logoutSaga } from "../login/userCredentials";
import * as firebase from "../firebase";

export default function* initializeApp({
apiKey = process.env.REACT_APP_FIREBASE_API_KEY,
Expand Down
2 changes: 1 addition & 1 deletion src/util/firebase.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as firebase from "../firebase";
import * as firebase from "firebase";

export const fbIsLoginError = e => {
if (e instanceof firebase.auth.Error) {
Expand Down
Loading

0 comments on commit 561faa2

Please sign in to comment.