apiGet update

This commit is contained in:
tmshv committed 2021-09-22 14:05:45 +03:00
1 parent 42fdf429e2
commit 794281c02c
3 files changed
+14 -10

No files matched your search

+4 -3
View File
@@ -41,9 +41,10 @@ const Index: NextPage<Props> = props => (
)
export const getStaticProps: GetStaticProps<Props> = async () => {
const url = 'https://hudozka.tmshv.com/home'
const items = await apiGet(createHomeCards)(url, [])
const menu = await apiGet(createMenu)('https://hudozka.tmshv.com/menu', [])
const items = await apiGet(createHomeCards)
('https://hudozka.tmshv.com/home', async () => [])
const menu = await apiGet(createMenu)
('https://hudozka.tmshv.com/menu', () => [])
const title = 'Шлиссельбургская ДХШ'
const meta = (new MetaBuilder())