fix: contact service lint error

This commit is contained in:
RizqiSyahrendra 2025-02-28 19:36:54 +07:00
parent 72638cab43
commit 04c48ccfb4

View File

@ -5,7 +5,7 @@ export async function fetchContact() {
const payload = await getPayload({ config: payloadConfig });
const dataQuery = await payload.findGlobal({ slug: "contacts" });
let fullLocationArr: string[] = [];
const fullLocationArr: string[] = [];
if (!!dataQuery?.location?.city) {
fullLocationArr.push(dataQuery.location.city);
}