Test changed import for pages.json

This commit is contained in:
Neshura 2023-01-18 10:32:28 +00:00
parent 684a4a5435
commit 28cd2ba8b1

View file

@ -4,7 +4,7 @@ import Dockerode from 'dockerode';
import { ReactElement } from 'react' import { ReactElement } from 'react'
import useSWR from 'swr'; import useSWR from 'swr';
import { CardContentService, PageContentBox, PageDescription, PageTitle } from '../components/styles/content'; import { CardContentService, PageContentBox, PageDescription, PageTitle } from '../components/styles/content';
import ServiceList from '../public/pages.json'; import ServiceList from '/data/pages.json';
const fetcher = (url: string) => fetch(url).then((res) => res.json()) const fetcher = (url: string) => fetch(url).then((res) => res.json())
@ -184,4 +184,4 @@ function useServices() {
}; };
} }
export default Services export default Services