mirror of
https://github.com/lordmathis/lemma.git
synced 2025-12-22 17:44:25 +00:00
Close folder selection popover after selecting a folder in CreateFileModal
This commit is contained in:
@@ -36,7 +36,7 @@ const CreateFileModal: React.FC<CreateFileModalProps> = ({ onCreateFile }) => {
|
||||
|
||||
const handleFolderSelect = (path: string) => {
|
||||
setSelectedFolder(path);
|
||||
// Keep popover open so users can continue browsing
|
||||
setPopoverOpened(false);
|
||||
};
|
||||
|
||||
// Load files when modal opens
|
||||
|
||||
Reference in New Issue
Block a user