From 5f2bce24155802b158823475c6f8a93f64aa7e90 Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Thu, 27 Jul 2023 15:32:14 -0400 Subject: [PATCH] Fix Address-Lookup error --- src/store/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/store/index.js b/src/store/index.js index c3c9fc8a0..44b1c0864 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2172,6 +2172,9 @@ function convertGlassPieceToBackEndCompatibleFormat(glassPieces) { } function providersEqual(providerA, providerB) { + if (!providerA) { + return false; + } return ( providerA.providerNumber === providerB.providerNumber && providerA.address?.city === providerB.address?.city &&