Test changed import for pages.json
This commit is contained in:
parent
684a4a5435
commit
28cd2ba8b1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue