fix(client): fix issue with react-query cache

This commit is contained in:
Amruth Pillai
2022-03-14 06:33:14 +01:00
parent fbb0285d0d
commit ed75a85827
11 changed files with 350 additions and 300 deletions

View File

@ -42,6 +42,7 @@ const Build: NextPage<Props> = ({ username, slug }) => {
`resume/${username}/${slug}`,
() => fetchResumeByIdentifier({ username, slug }),
{
cacheTime: 0,
refetchOnMount: false,
refetchOnReconnect: false,
refetchOnWindowFocus: false,