Skip to content

Commit

Permalink
Little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKCKACHKA committed Dec 26, 2023
1 parent 7c52fda commit ca61ad4
Show file tree
Hide file tree
Showing 10 changed files with 2,203 additions and 1,767 deletions.
3,747 changes: 2,194 additions & 1,553 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/MainComponents/Water/Water.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Modal from 'react-modal';
import React, { useState, useEffect } from 'react';
import { useState } from 'react';
import {
Container,
Heading,
Expand Down
3 changes: 2 additions & 1 deletion src/components/MainComponents/Water/Water.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const ValueContainer = styled.div`
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
width: 262px;
@media (min-width: 834px) {
flex-direction: row;
gap: 40px;
Expand Down Expand Up @@ -178,6 +178,7 @@ export const StyledInput = styled.input`
border-radius: 12px;
padding: 8px 10px;
color: #fff;
height: 36px;
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

186 changes: 0 additions & 186 deletions src/components/SetParamsComponents/YourGoal/YourGoal.jsx

This file was deleted.

8 changes: 6 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ h6 {
color: var(--primary-title-text-color);
}

input[type="number"] {
input[type='number'] {
-moz-appearance: textfield;
}
input::-webkit-inner-spin-button,
Expand All @@ -62,6 +62,10 @@ input::-webkit-outer-spin-button {
margin: 0;
}

input[type="password"] {
input[type='password'] {
-webkit-text-security: none;
}

button {
border: 0;
}
1 change: 0 additions & 1 deletion src/pages/MainPage/MainPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default function MainPage() {

return (
<>
<p>MainPage</p>
<TodayWrap />
<StyledWrap>
<Diary />
Expand Down
2 changes: 0 additions & 2 deletions src/redux/operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const signup = createAsyncThunk(
try {
const res = await axios.post('/auth/signup', credentials);
setAuthToken(res.data.token);
console.log(res.data);
toast.success('Successfully sign up!');
return res.data;
} catch (error) {
Expand All @@ -36,7 +35,6 @@ export const signin = createAsyncThunk(
try {
const res = await axios.post('/auth/signin', credentials);
setAuthToken(res.data.token);
console.log(res.data);
toast.success('Successfully sign in!');
return res.data;
} catch (error) {
Expand Down

0 comments on commit ca61ad4

Please sign in to comment.