diff --git a/.env b/.env deleted file mode 100644 index d4f768a..0000000 --- a/.env +++ /dev/null @@ -1,6 +0,0 @@ -# Change to DEVELOPMENT to use local dev api server -REACT_APP_API_ENVIRONMENT=PRODUCTION -REACT_APP_CMS_URL=https://cms.hack.gt/admin/api -REACT_APP_EVENT_NAME=HackGT 12 -REACT_APP_HEXATHON_ID=683f9a9ab75ad31cd0f2ec67 - diff --git a/.gitignore b/.gitignore index 264e9f6..561a58d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,5 @@ package-lock.json .DS_Store -.vscode/ \ No newline at end of file +.vscode/ +.env \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 69f7237..05a9cfc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -36,7 +36,7 @@ import CreateLocation from "./components/tabs/admin/events/FormInputs/CreateLoca // Initialized the Firebase app through the credentials provided export const app = initializeApp({ - apiKey: "AIzaSyCsukUZtMkI5FD_etGfefO4Sr7fHkZM7Rg", + apiKey: process.env.REACT_APP_FIREBASE_API_KEY, authDomain: "auth.hexlabs.org", }); export const HEXATHON_ID = String(process.env.REACT_APP_HEXATHON_ID); @@ -87,10 +87,11 @@ export const App = () => { } /> {/* } /> */} {/* } /> */} - }/> + } /> {/* } /> */} - // TODO: Change the Create Item route to be /admin/items/new after adding in an admin page to view all items - }/> + // TODO: Change the Create Item route to be /admin/items/new after adding in an admin page + to view all items + } /> } /> } /> } />