Don't re-render entire file list when opening modals

This commit is contained in:
Dane Everitt
2020-09-09 21:32:43 -07:00
parent deb61623b2
commit d86d0fedb4
2 changed files with 7 additions and 1 deletions

View File

@@ -11,7 +11,8 @@ export default () => {
`${uuid}:files:${directory}`,
() => loadDirectory(uuid, cleanDirectoryPath(directory)),
{
revalidateOnMount: true,
focusThrottleInterval: 30000,
revalidateOnMount: false,
refreshInterval: 0,
},
);