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:
parent
79182fb8c1
commit
d98082a2c4
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user