mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-19 16:56:12 +01:00
👁️ fix: Return Focus on My Files Modal Close (#11032)
* fix: focus returns to manage files button on modal close * refactor: remove atoms and re-use components instead * refactor: FilesView to MyFilesModal * chore: import styling * chore: delete file that was meant to be renamed * feat: add trigger ref for settings button as well
This commit is contained in:
parent
1f695e0cdc
commit
98294755ee
4 changed files with 33 additions and 14 deletions
|
|
@ -6,7 +6,6 @@ import type { TOptionSettings } from '~/common';
|
|||
// Static atoms without localStorage
|
||||
const staticAtoms = {
|
||||
abortScroll: atom<boolean>({ key: 'abortScroll', default: false }),
|
||||
showFiles: atom<boolean>({ key: 'showFiles', default: false }),
|
||||
optionSettings: atom<TOptionSettings>({ key: 'optionSettings', default: {} }),
|
||||
currentSettingsView: atom<SettingsViews>({
|
||||
key: 'currentSettingsView',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue