mirror of
https://github.com/suitenumerique/drive.git
synced 2026-09-28 04:25:13 +02:00
Add data to the useEffect dependency array so the current file index is recalculated when the file list changes, e.g. after a refetch or when items are added/removed.