Don't need to focus on status after closing carousel

It causes unnecessary scroll
This commit is contained in:
Lim Chee Aun 2023-01-03 00:48:16 +08:00
parent 8d609e14a6
commit e4de6d1d22

View file

@ -658,7 +658,6 @@ function Status({
index={showMediaModal} index={showMediaModal}
onClose={() => { onClose={() => {
setShowMediaModal(false); setShowMediaModal(false);
statusRef.current?.focus();
}} }}
/> />
</Modal> </Modal>