Skip to content

Commit

Permalink
Disabled cache for Table Request
Browse files Browse the repository at this point in the history
  • Loading branch information
sergesoroka committed May 22, 2024
1 parent 2d1d4c8 commit 29e4bdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StartScreenComp/StartScreenComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export default function StartScreenComp({}) {
const templateURL = `${apiUrl}/${idShosen}?format=xlsx&project=${projectID}`;

const { data, isLoading, error } = useSWR(`${apiUrl}`, fetcher, {
revalidateOnMount: true,
// refreshInterval: 1000,
cachePolicy: "no-cache",
});

const templateData = [];
Expand Down

0 comments on commit 29e4bdc

Please sign in to comment.