mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 10:40:28 +03:00
add methods for sheet management
This commit is contained in:
parent
db0525ff75
commit
f2a7a42756
1 changed files with 10 additions and 0 deletions
|
|
@ -754,6 +754,16 @@ export const Message = as<'div', MessageProps>(
|
||||||
}, 100);
|
}, 100);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleClose = () => {
|
||||||
|
setView('options');
|
||||||
|
closeMenu();
|
||||||
|
};
|
||||||
|
|
||||||
|
const onEmojiSelect = (key, shortcode) => {
|
||||||
|
onReactionToggle(mEvent.getId(), key, shortcode);
|
||||||
|
handleClose();
|
||||||
|
};
|
||||||
|
|
||||||
const tagColor = powerLevelTag?.color
|
const tagColor = powerLevelTag?.color
|
||||||
? accessibleTagColors?.get(powerLevelTag.color)
|
? accessibleTagColors?.get(powerLevelTag.color)
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue