mirror of
https://github.com/jsmorabito/obsidian-commander.git
synced 2026-07-22 06:40:31 +00:00
Replace this.forceUpdate() with useState hook in functional components. In Preact functional components, 'this' is undefined, so this.forceUpdate() silently threw errors, preventing all callback handlers (remove, reorder, rename, icon change, mode change) from completing on mobile. |
||
|---|---|---|
| .. | ||
| assets | ||
| manager/commands | ||
| styles | ||
| ui | ||
| constants.ts | ||
| custom.d.ts | ||
| l10n.ts | ||
| main.ts | ||
| types.ts | ||
| util.tsx | ||