Skip to content

Commit

Permalink
fixed file names in src/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mantleTycoon committed Nov 12, 2022
1 parent ab538fe commit f6ee5b6
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"proxy": "http://127.0.0.1:5000",
"proxy": "http://127.0.0.1:4000",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/CartScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'
import { useDispatch, useSelector } from 'react-redux'
import { Row, Col, ListGroup, Image, Form, Button, Card } from 'react-bootstrap'
import Message from '../components/Message'
import { addToCart, removeFromCart } from '../Actions/cartActions'
import { addToCart, removeFromCart } from '../actions/cartActions'
import css from "../components/css/Nav.css";

const CartScreen = ({ match, location, history }) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Loader from "../components/Loader";
import Paginate from "../components/Paginate";
import ProductCarousel from "../components/ProductCarousel";
import Meta from "../components/Meta";
import { listProducts } from "../actions/productActions";
import { listProducts } from "../actions/ProductActions";
import Footer from "../components/Footer"

const HomeScreen = ({ match }) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/PaymentScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react'
import { Form, Button, Col } from 'react-bootstrap'
import { useDispatch, useSelector } from 'react-redux'
import FormContainer from '../components/FormContainer'
import { savePaymentMethod } from '../Actions/cartActions'
import { savePaymentMethod } from '../actions/cartActions'
import css from "../components/css/Nav.css";

const PaymentScreen = ({ history }) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/ProductEditScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useDispatch, useSelector } from 'react-redux'
import Message from '../components/Message'
import Loader from '../components/Loader'
import FormContainer from '../components/FormContainer'
import { listProductDetails, updateProduct } from '../actions/productActions'
import { listProductDetails, updateProduct } from '../actions/ProductActions'
import { PRODUCT_UPDATE_RESET } from '../constants/productConstants'
import css from '../components/css/Nav.css'

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/ProductListScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
listProducts,
deleteProduct,
createProduct,
} from '../actions/productActions'
} from '../actions/ProductActions'
import { PRODUCT_CREATE_RESET } from '../constants/productConstants'
import css from '../components/css/Nav.css'

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/ProductScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Meta from "../components/Meta";
import {
listProductDetails,
createProductReview,
} from "../actions/productActions";
} from "../actions/ProductActions";
import { PRODUCT_CREATE_REVIEW_RESET } from "../constants/productConstants";
import css from "../components/css/Nav.css";

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/screens/ProfileScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { useDispatch, useSelector } from 'react-redux'
import Message from '../components/Message'
import Loader from '../components/Loader'
import css from '../components/css/Nav.css'
import { getUserDetails, updateUserProfile } from '../Actions/userActions'
import { listMyOrders } from '../Actions/orderActions'
import { getUserDetails, updateUserProfile } from '../actions/userActions'
import { listMyOrders } from '../actions/orderActions'
import { USER_UPDATE_PROFILE_RESET } from '../constants/userConstants'


Expand Down
2 changes: 1 addition & 1 deletion frontend/src/screens/ShippingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
import { Form, Button, Row, Col } from "react-bootstrap";
import { useDispatch, useSelector } from "react-redux";
import FormContainer from "../components/FormContainer";
import { saveShippingAddress } from "../Actions/cartActions";
import { saveShippingAddress } from "../actions/cartActions";
import delivery from "../image/delivery.png";
import css from "../components/css/Nav.css";

Expand Down

0 comments on commit f6ee5b6

Please sign in to comment.