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
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
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,
},
);