We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b35752b + 80a92db commit fd22c9dCopy full SHA for fd22c9d
1 file changed
CustomerAddressMapper/MainComponent.tsx
@@ -62,12 +62,13 @@ const MainComponent: React.FunctionComponent<IMainComponentProps> = (props) => {
62
setQueryRunning(true)
63
64
const response = await entityRepository.GetAddressValueFromParent(parentEntity!)
65
-
66
- if (response) {
67
- setQueryRunning(false);
68
- setResponseStatus(response.status);
+
+ setQueryRunning(false);
+ setResponseStatus(response.status);
69
+ if(response.address){
70
+ setCustomerAddress(response.address)
71
}
- setCustomerAddress(response.address)
72
73
74
return (
0 commit comments