Skip to content

Commit

Permalink
Merge pull request #162 from VasylievYurii/Fix/little-fixes
Browse files Browse the repository at this point in the history
some fixes
  • Loading branch information
VasylievYurii authored Nov 21, 2023
2 parents 38d7400 + a2a266b commit 4fd8556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/AddProductForm/AddProductForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from './AddProductForm.styled';
import { useDispatch } from 'react-redux';
import { postDiaryMealsThunk } from '../../redux/meals/mealsOperations';
import { ToastContainer } from 'react-toastify';
// import { ToastContainer } from 'react-toastify';

const AddProductForm = ({ id, title, calories, onClick, onClickSuccess }) => {
const [calculatedCalories, setCalculatedCalories] = useState(0);
Expand Down Expand Up @@ -64,7 +64,7 @@ const AddProductForm = ({ id, title, calories, onClick, onClickSuccess }) => {

return (
<>
<ToastContainer />
{/* <ToastContainer /> */}

<Formik
initialValues={initialValues}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export const SectionNoAuth = styled.section`
background-position: right bottom;
background-size: contain;
height: 100vh;
padding-top: 24px;
/* padding-top: 24px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 40px;
padding-bottom: 40px; */
background-image: ${(props) => getBackgroundImage(props.pathname)};
@media (orientation: portrait) {
Expand Down

0 comments on commit 4fd8556

Please sign in to comment.