mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
fix(client): fix issue with react-query cache
This commit is contained in:
@ -42,6 +42,7 @@ const Build: NextPage<Props> = ({ username, slug }) => {
|
||||
`resume/${username}/${slug}`,
|
||||
() => fetchResumeByIdentifier({ username, slug }),
|
||||
{
|
||||
cacheTime: 0,
|
||||
refetchOnMount: false,
|
||||
refetchOnReconnect: false,
|
||||
refetchOnWindowFocus: false,
|
||||
|
||||
@ -8,7 +8,6 @@ import { Trans, useTranslation } from 'next-i18next';
|
||||
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
|
||||
|
||||
import Testimony from '@/components/landing/Testimony';
|
||||
import Announcement from '@/components/shared/Announcement';
|
||||
import Footer from '@/components/shared/Footer';
|
||||
import LanguageSwitcher from '@/components/shared/LanguageSwitcher';
|
||||
import Logo from '@/components/shared/Logo';
|
||||
@ -45,8 +44,6 @@ const Home: NextPage = () => {
|
||||
|
||||
return (
|
||||
<main className={styles.container}>
|
||||
<Announcement />
|
||||
|
||||
<div className={styles.header}>
|
||||
<div className={styles.logo}>
|
||||
<Logo size={256} />
|
||||
|
||||
Reference in New Issue
Block a user