From 8d439ba67ddf2e0a2b2228b20fed8ecfce507f30 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Sat, 26 Mar 2022 19:27:51 +0800 Subject: [PATCH] Add comment --- .../to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js index 89dc3df0ad4..0360e7cdd89 100644 --- a/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js +++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/StorageExplorer.js @@ -67,6 +67,10 @@ const StorageExplorer = observer(({ bucket }) => { // I'm keeping them outside of the mobx store as I feel that the store should contain persistent data // Things like showing results from a search filter is "temporary", hence we use react state to manage const [isSearching, setIsSearching] = useState(false) + + // [TODO JOSHEN FOR INFINITE SCROLLING] + // Probably need a useEffect for this to use fetchFolderContents and fetchMoreFolderContents in store + // instead of doing a client side filtering in FileExplorerColumn, pending Alaister to update js library const [itemSearchString, setItemSearchString] = useState('') const previewPaneWidth = 450