rebasing #51
Merged
rebasing #51
Annotations
10 errors and 6 warnings
|
proj2/Ecobites/client/src/drivers/Drivers.jsx#L12
'selectedOrderId' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
proj2/Ecobites/client/src/customers/Customer.jsx#L157
'removeFromCart' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
proj2/Ecobites/client/src/customers/Customer.jsx#L107
Empty block statement
|
|
proj2/Ecobites/client/src/customers/Customer.jsx#L15
'menu' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
proj2/Ecobites/client/src/customers/Customer.jsx#L10
'loading' is assigned a value but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
proj2/Ecobites/client/src/customers/Checkout.jsx#L4
'profileService' is defined but never used. Allowed unused vars must match /^[A-Z_]/u
|
|
proj2/Ecobites/client/src/context/RestaurantContext.jsx#L32
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
proj2/Ecobites/client/src/context/CartContext.jsx#L65
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
proj2/Ecobites/client/src/context/AuthContext.jsx#L64
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
proj2/Ecobites/client/src/context/AuthContext.jsx#L16
'error' is defined but never used
|
|
proj2/Ecobites/client/src/pages/Profile.jsx#L20
React Hook useEffect has a missing dependency: 'user'. Either include it or remove the dependency array. You can also do a functional update 'setUser(u => ...)' if you only need 'user' in the 'setUser' call
|
|
proj2/Ecobites/client/src/pages/OrderDetails.jsx#L17
React Hook useEffect has a missing dependency: 'fetchOrderDetails'. Either include it or remove the dependency array
|
|
proj2/Ecobites/client/src/drivers/Drivers.jsx#L54
React Hook useEffect has a missing dependency: 'activeTab'. Either include it or remove the dependency array
|
|
proj2/Ecobites/client/src/customers/Customer.jsx#L95
React Hook useEffect has a missing dependency: 'selectedRestaurant'. Either include it or remove the dependency array
|
|
proj2/Ecobites/client/src/customers/Checkout.jsx#L74
React Hook React.useEffect has a missing dependency: 'user'. Either include it or remove the dependency array
|
|
proj2/Ecobites/client/src/customers/Checkout.jsx#L21
React Hook React.useEffect has missing dependencies: 'isAuthenticated' and 'refreshUser'. Either include them or remove the dependency array
|
The logs for this run have expired and are no longer available.
Loading