fix: 🐛 a bug where cache wasnt being set properly
This commit is contained in:
@@ -150,7 +150,6 @@ export const getCachedFullCustomer = async ({
|
||||
|
||||
if (entityId) {
|
||||
fullCustomer.entity = fullCustomer.entities?.find((e) => e.id === entityId);
|
||||
if (!fullCustomer.entity) return undefined; // might need to create?
|
||||
} else {
|
||||
fullCustomer.entity = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user