mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 01:46:18 -05:00
Removing consolidated hook because values were not being passed up.
This commit is contained in:
parent
2053dc46f9
commit
3f08bce9ea
11 changed files with 106 additions and 98 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue