From 26071e8f650db94e0b1f8e200290ff45c7036b40 Mon Sep 17 00:00:00 2001 From: felipe Okino Date: Thu, 31 Oct 2019 18:54:55 -0300 Subject: [PATCH] Added .env to resolve absolute import problem --- package.json | 1 + src/App.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4630c0d..ff7574e 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "@fortawesome/fontawesome-free-solid": "^5.0.8", "@fortawesome/react-fontawesome": "0.0.17", "@turf/turf": "^5.1.6", + "dotenv": "^8.2.0", "gh-pages": "^1.1.0", "react": "^16.5.1", "react-dom": "^16.5.1", diff --git a/src/App.js b/src/App.js index 6a20d49..6fd58df 100644 --- a/src/App.js +++ b/src/App.js @@ -16,7 +16,7 @@ import { Results } from 'containers/Results/Results'; import { Register } from 'containers/Register/Register'; import STRINGS from 'configs/Strings'; - +require('dotenv').config() class App extends Component { render() { return (