diff --git a/src/components/User/Profile/Profile.jsx b/src/components/User/Profile/Profile.jsx index 28ccc96..6cb694d 100644 --- a/src/components/User/Profile/Profile.jsx +++ b/src/components/User/Profile/Profile.jsx @@ -7,7 +7,7 @@ import Avatar from 'components/User/Avatar/Avatar.jsx'; const Profile = (props, {user,logoutAction,addFavoritesAction}) => { return (
- +
Passionate about horror movies, born in Brazil. diff --git a/src/index.js b/src/index.js index 2f35c64..4861df2 100644 --- a/src/index.js +++ b/src/index.js @@ -6,11 +6,22 @@ import AppRoutes from './routes/AppRoutes.js'; /** firebase */ import credentials from "./credentials"; import firebase from "firebase/compat/app"; +import "firebase/compat/functions"; +import "firebase/compat/firestore"; /** provider */ import { SessionProvider } from "providers/Session"; /** start */ -firebase.initializeApp(credentials); +const app = firebase.initializeApp(credentials); +/* +if (window.location.hostname === "localhost") { + app.auth().useEmulator("http://localhost:9099"); + app.firestore().settings({ + host: "localhost:9098", + ssl: false, + }); +} +*/ const root = ReactDOM.createRoot(document.getElementById('root'));