Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit f53af45

Browse files
committed
Remove async
1 parent e22b049 commit f53af45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/wordpress/menus/getMenus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const menuLocations = ['primary-menu', 'footer-menu', 'mobile-menu']
1111
* @param {Array} locations The menu locations as an array.
1212
* @return {Array} Returns array of menu objects.
1313
*/
14-
export default async function getMenus(menus, locations = menuLocations) {
14+
export default function getMenus(menus, locations = menuLocations) {
1515
if (!locations.length > 0) {
1616
return [] // Exit if empty.
1717
}

0 commit comments

Comments
 (0)