diff --git a/src/context/Provider.jsx b/src/context/Provider.jsx index 87d9e40..ee6ccb2 100644 --- a/src/context/Provider.jsx +++ b/src/context/Provider.jsx @@ -26,7 +26,7 @@ export function Provider({ children }) { const [userEmail, setUserEmail] = usePersistedState('userEmail', 'Carregando...'); const [loading, setLoading] = useState(true); - const [serviceId, setServiceId] = usePersistedState('serviceId', 2); + const [serviceId, setServiceId] = usePersistedState('serviceId', 1); const scheduleElementRef = useRef(null); diff --git a/src/pages/Login/Login.jsx b/src/pages/Login/Login.jsx index bccf679..844ad45 100644 --- a/src/pages/Login/Login.jsx +++ b/src/pages/Login/Login.jsx @@ -6,7 +6,6 @@ import LoginButton from '../../components/LoginButton/LoginButton'; import Loading from '../../components/Loading/Loading'; import { AppWrap, MotionWrap } from '../../wrapper'; -import APISelector from '../../components/APISelector/APISelector'; import Footer from '../../components/Footer/Footer'; import { images } from '../../constants'; @@ -32,12 +31,6 @@ const Login = () => {

- -
- -

Se der aplicativo bloqueado, -
troque de API, isso é temporário!

-
); diff --git a/src/pages/Scheduler/Scheduler.jsx b/src/pages/Scheduler/Scheduler.jsx index 90ab3ea..07921cf 100644 --- a/src/pages/Scheduler/Scheduler.jsx +++ b/src/pages/Scheduler/Scheduler.jsx @@ -1,22 +1,17 @@ -import React, { useContext } from 'react'; +import React from 'react'; import SelectTime from '../../components/SelectTime/SelectTime'; import SelectColors from '../../components/SelectColors/SelectColors'; import TextArea from '../../components/TextArea/TextArea'; import AddEventButton from '../../components/AddEventButton/AddEventButton'; -import APISelector from '../../components/APISelector/APISelector'; import { AppWrap, MotionWrap } from '../../wrapper'; import Header from '../../components/Header/Header'; import Footer from '../../components/Footer/Footer'; -import { MyContext } from '../../context/Provider'; - import './Scheduler.scss'; const Scheduler = () => { - const { serviceId } = useContext(MyContext); - const homePage = (