|
|
@@ -47,7 +47,7 @@ export default function AddressEditScreen() {
|
|
|
setLoading(true);
|
|
|
try {
|
|
|
const list = await getAddressList();
|
|
|
- const item = list.find((a: Address) => a.id === id);
|
|
|
+ const item = list.find((a: Address) => String(a.id) === String(id));
|
|
|
if (item) {
|
|
|
setContactName(item.contactName);
|
|
|
setContactNo(item.contactNo);
|