1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

(fix) cart's operator_id has rename to operator_profile_id

This commit is contained in:
Du Peng 2022-09-07 16:57:07 +02:00
parent 79182fb8c1
commit d98082a2c4

View File

@ -35,7 +35,7 @@ export default function useCart (user?: User) {
};
useEffect(() => {
if (user && cart && (!cart.statistic_profile_id || !cart.operator_id)) {
if (user && cart && (!cart.statistic_profile_id || !cart.operator_profile_id)) {
reloadCart();
}
}, [user]);