@gingkoo/pandora-explorer 0.0.1-alpha.16 → 0.0.1-alpha.17

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/lib/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @gingkoo/pandora-explorer v0.0.1-alpha.16
2
+ * @gingkoo/pandora-explorer v0.0.1-alpha.17
3
3
  */
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import cx$1 from 'classnames';
@@ -1719,7 +1719,7 @@ const ExplorerHead = props => {
1719
1719
  className: 'path',
1720
1720
  spellCheck: 'false',
1721
1721
  onBlur: v => {
1722
- loadData?.(v);
1722
+ loadData?.(v.target.value);
1723
1723
  setFocus(false);
1724
1724
  }
1725
1725
  })
@@ -7429,7 +7429,7 @@ const Explorer = props => {
7429
7429
  }, [curlist]);
7430
7430
  useEffect(() => {
7431
7431
  let root = log[0];
7432
- if (!curInfo?.pathDisplay?.includes(root)) {
7432
+ if (!root?.includes(curInfo?.path)) {
7433
7433
  setLog([]);
7434
7434
  }
7435
7435
  }, [curInfo]);