refactor: move GrapQL fragments
This commit is contained in:
@@ -55,7 +55,7 @@ export default async function MyPagesLayout({
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// navigation_my_pages is of type Single, hence the hard [0]
|
||||
const navigation = response.data.all_navigation_my_pages.items[0]
|
||||
const menuItems = mapMenuItems(navigation.items)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user