Skip to content

Commit

Permalink
feat 🔧: removido seletores de API e padronizado API para a 01
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Pster committed Nov 3, 2022
1 parent 71916b1 commit 3da92c4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/context/Provider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
6 changes: 0 additions & 6 deletions src/pages/Login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ const Login = () => {
</p>
<LoginButton />
</div>

<div className="app__flex login__changeapi">
<APISelector />
<p>Se der aplicativo bloqueado,
<br />troque de API, isso é temporário!</p>
</div>
</>
);

Expand Down
2 changes: 0 additions & 2 deletions src/pages/Scheduler/Scheduler.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ const Scheduler = () => {
</div>

<div className="schedule-footer">
<h4>Usando a API {serviceId}, se não conseguir adicionar, troque de API.</h4>
<div className="schedule-content-buttons">
<APISelector />
<AddEventButton />
</div>
</div>
Expand Down

0 comments on commit 3da92c4

Please sign in to comment.