- Use useRef to prevent multiple initializations - Remove selectFile call that may cause state race condition - Directly update store without selectFile to preserve isEditing state
- Use useRef to prevent multiple initializations - Remove selectFile call that may cause state race condition - Directly update store without selectFile to preserve isEditing state