ywana-core8 0.0.892 → 0.0.893

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4327,12 +4327,6 @@ var FileExplorer = function FileExplorer(props) {
4327
4327
  var _useState3 = React.useState(),
4328
4328
  search = _useState3[0],
4329
4329
  setSearch = _useState3[1];
4330
- React.useEffect(function () {
4331
- if (files.length > 0) {
4332
- setSelectedFolder(files[0].folder);
4333
- setSelectedFile(files[0].id);
4334
- }
4335
- }, [files]);
4336
4330
  React.useEffect(function () {
4337
4331
  if (onSelectFile) onSelectFile(selectedFile);
4338
4332
  }, [selectedFile]);