Removing consolidated hook because values were not being passed up.

This commit is contained in:
Roland 2022-02-02 14:02:51 -07:00
parent 2053dc46f9
commit 3f08bce9ea
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
11 changed files with 106 additions and 98 deletions

View file

@ -15,7 +15,7 @@ const icons = {
PDF: <Icon name='file pdf'/>,
};
export function Files(props) {
export function Files() {
const {searchFiles, setPage, totalPages, activePage, searchStr, setSearchStr} = useSearchFiles(50);
const {browseFiles, setOpenFolders, fetchFiles} = useBrowseFiles();
@ -127,7 +127,7 @@ export function Files(props) {
</>
}
function ManageFiles(props) {
function ManageFiles() {
return (<>
<Button secondary
id='refresh_files'