Add comment

This commit is contained in:
Joshen Lim authored and Beng Eu committed 2022-04-05 23:21:59 +08:00
1 parent cd4c8d68c3
commit 8d439ba67d
1 file changed
+4
@@ -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