MCPcopy Create free account

hub / github.com/John-Weeks-Dev/ebay-clone / functions

Functions61 in github.com/John-Weeks-Dev/ebay-clone

↓ 18 callersFunctionuseIsLoading
(bool)
app/hooks/useIsLoading.js:1
↓ 5 callersFunctionuseCart
()
app/context/cart.js:99
↓ 4 callersFunctionuseUser
()
app/context/user.js:72
↓ 2 callersFunctionclearUser
()
app/context/user.js:59
↓ 2 callersFunctionisItemAddedToCart
(product)
app/context/cart.js:43
↓ 2 callersFunctionsetTheCurrentAddres
(result)
app/address/page.js:58
↓ 2 callersFunctionshowError
(errorMsgText)
app/checkout/page.js:131
↓ 2 callersFunctionuseUserAddress
()
app/hooks/useUserAddress.js:1
↓ 1 callersFunctiongetAdddress
()
app/checkout/page.js:39
↓ 1 callersFunctiongetAdddress
()
app/address/page.js:37
↓ 1 callersFunctiongetCurrentSession
()
app/context/user.js:20
↓ 1 callersFunctiongetCurrentUser
()
app/context/user.js:29
↓ 1 callersFunctiongetOrders
()
app/orders/page.js:17
↓ 1 callersFunctiongetProduct
()
app/product/[id]/page.js:15
↓ 1 callersFunctiongetProducts
()
app/page.js:13
↓ 1 callersFunctiongetRandomProducts
()
app/components/SimilarProducts.js:11
↓ 1 callersFunctionisUser
()
app/context/user.js:46
↓ 1 callersFunctionseedProducts
()
prisma/seed.js:4
↓ 1 callersFunctionstripeInit
()
app/checkout/page.js:55
↓ 1 callersFunctionuseCreateAddress
(details)
app/hooks/useCreateAddress.js:1
↓ 1 callersFunctionvalidate
()
app/address/page.js:67
FunctionAuthPage
()
app/auth/page.js:8
FunctionCarouselComp
()
app/components/CarouselComp.js:6
FunctionCartItem
({ product })
app/components/CartItem.js:5
FunctionCheckout
()
app/checkout/page.js:17
FunctionClientOnly
({ children })
app/components/ClientOnly.js:5
FunctionFooter
()
app/layouts/includes/Footer.js:3
FunctionGET
(request)
app/auth/callback/route.js:5
FunctionGET
(req, context)
app/api/product/[id]/route.js:4
FunctionGET
()
app/api/products/route.js:4
FunctionGET
(req, context)
app/api/products/search-by-name/[name]/route.js:4
FunctionGET
()
app/api/products/get-random/route.js:4
FunctionGET
()
app/api/orders/route.js:6
FunctionGET
()
app/api/address/[id]/route.js:6
FunctionHome
()
app/address/page.js:17
FunctionLoading
()
app/components/Loading.js:5
FunctionMainLayout
({ children })
app/layouts/MainLayout.js:10
FunctionMainLayout
()
app/layouts/includes/MainHeader.js:9
FunctionPOST
(req)
app/api/orders/create/route.js:6
FunctionPOST
(req)
app/api/stripe/route.js:6
FunctionPOST
(req)
app/api/address/update/route.js:6
FunctionPOST
(req)
app/api/address/create/route.js:6
FunctionProduct
({ params })
app/product/[id]/page.js:10
FunctionRootLayout
({ children })
app/layout.js:12
FunctionSuccess
()
app/success/page.js:7
FunctionTextInput
({ string, placeholder, error, onUpdate })
app/components/TextInput.js:3
FunctionTopMenu
()
app/layouts/includes/TopMenu.js:12
FunctionaddToCart
(product)
app/context/cart.js:21
FunctioncartCount
()
app/context/cart.js:58
FunctioncartTotal
()
app/context/cart.js:66
FunctionclearCart
()
app/context/cart.js:80
FunctiongetCart
()
app/context/cart.js:13
FunctiongoToCheckout
()
app/cart/page.js:23
FunctionisLoggedIn
()
app/layouts/includes/TopMenu.js:20
Functionmiddleware
(req)
middleware.js:4
Functionpay
(event)
app/checkout/page.js:85
FunctionremoveFromCart
(product)
app/context/cart.js:32
FunctionremoveItemFromCart
()
app/components/CartItem.js:8
FunctionshowError
(type)
app/address/page.js:30
FunctionsignOut
()
app/context/user.js:53
Functionsubmit
(event)
app/address/page.js:91