Don't re-render entire file list when opening modals
This commit is contained in:
parent
deb61623b2
commit
d86d0fedb4
2 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,8 @@ export default () => {
|
|||
`${uuid}:files:${directory}`,
|
||||
() => loadDirectory(uuid, cleanDirectoryPath(directory)),
|
||||
{
|
||||
revalidateOnMount: true,
|
||||
focusThrottleInterval: 30000,
|
||||
revalidateOnMount: false,
|
||||
refreshInterval: 0,
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue