@sprintup-cms/sdk 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -294,7 +294,7 @@ function createCMSClient(options) {
294
294
  if (!res.ok) return { navigation: null, footer: null, navItems: [] };
295
295
  const json = await res.json();
296
296
  const navigation = json.data?.navigation ?? null;
297
- const rawItems = navigation?.blocks?.[0]?.content?.items ?? navigation?.blocks?.[0]?.data?.items ?? [];
297
+ const rawItems = navigation?.sectionData?.items ?? navigation?.blocks?.[0]?.content?.items ?? [];
298
298
  return {
299
299
  navigation,
300
300
  footer: json.data?.footer ?? null,