fix: contact service lint error
This commit is contained in:
parent
72638cab43
commit
04c48ccfb4
@ -5,7 +5,7 @@ export async function fetchContact() {
|
|||||||
const payload = await getPayload({ config: payloadConfig });
|
const payload = await getPayload({ config: payloadConfig });
|
||||||
const dataQuery = await payload.findGlobal({ slug: "contacts" });
|
const dataQuery = await payload.findGlobal({ slug: "contacts" });
|
||||||
|
|
||||||
let fullLocationArr: string[] = [];
|
const fullLocationArr: string[] = [];
|
||||||
if (!!dataQuery?.location?.city) {
|
if (!!dataQuery?.location?.city) {
|
||||||
fullLocationArr.push(dataQuery.location.city);
|
fullLocationArr.push(dataQuery.location.city);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user