@primer-io/react-native 0.13.0-beta.2 → 0.13.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,13 +99,9 @@ fileprivate struct BusinessRN: Decodable {
|
|
|
99
99
|
|
|
100
100
|
fileprivate extension BusinessRN {
|
|
101
101
|
var primerFormat: BusinessDetails? {
|
|
102
|
-
guard let address = address else {
|
|
103
|
-
return nil
|
|
104
|
-
}
|
|
105
|
-
|
|
106
102
|
return BusinessDetails(
|
|
107
103
|
name: name,
|
|
108
|
-
address: address
|
|
104
|
+
address: address?.primerFormat
|
|
109
105
|
)
|
|
110
106
|
}
|
|
111
107
|
}
|
package/package.json
CHANGED