diff --git a/app.vue b/app.vue index 648792a..14c6f0d 100644 --- a/app.vue +++ b/app.vue @@ -25,7 +25,7 @@ const delivery = (pagesData.value as ApiPagesType[]).find(el => el.slug == 'deli const { data: footerData } = await useFetch(`${apiBase}/footer/?ordering=small_text`) const { data: social_networkData } = await useFetch(`${apiBase}/social_network/`) -const { data: advData } = await useFetch(`${apiBase}/advantage/`) +const { data: advData } = await useFetch(`${apiBase}/advantage/`) const isModalOpen = useState('modal_open', () => false) diff --git a/types/index.d.ts b/types/index.d.ts index 49f5d3c..5e2397e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -43,3 +43,9 @@ type ApiSocial_networkType = { link: string icon: string } + +type ApiAdvantageType = { + id: number + title: string + content: string +} \ No newline at end of file