fix issue where shared item not appearing if target conversation already open

This commit is contained in:
balzack 2025-03-02 08:35:04 -08:00
parent 25e3e46e7e
commit 41f8f707b9
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ export function Selector({ share, selected, channels }: { share: { filePath: str
if (share) {
setTopic(null);
setShow(true);
actions.clearFocus();
}
}, [share]);

View File

@ -18,6 +18,7 @@ export function useSelector() {
}
const actions = {
clearFocus: app.actions.clearFocus,
}
return { state, actions }