[Glitch] Add dropdown menu to hashtag links in web UI

Port a9cfaa6eed to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko
2025-04-11 12:50:46 +02:00
committed by Claire
parent 8cbd99e645
commit c0bb21ecd8
6 changed files with 210 additions and 22 deletions

View File

@@ -36,11 +36,11 @@ export const EditedTimestamp: React.FC<{
}, [dispatch, statusId]);
const handleItemClick = useCallback(
(_item: HistoryItem, i: number) => {
(_item: HistoryItem, index: number) => {
dispatch(
openModal({
modalType: 'COMPARE_HISTORY',
modalProps: { index: i, statusId },
modalProps: { index, statusId },
}),
);
},