From a343adfc89265d9bea25f3fe11af468c83f3a5c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=97=D0=B5=D0=BB=D0=B5=D0=BD=D1=81=D0=BA=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=90=D0=BD=D0=B0=D1=81=D1=82=D0=B0=D1=81=D0=B8=D1=8F=20=D0=9D?= =?UTF-8?q?=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B5=D0=B2=D0=BD=D0=B0?= Date: Mon, 10 Jun 2024 12:01:18 +0300 Subject: [PATCH] advantage --- app.vue | 2 +- types/index.d.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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