[Glitch] Refactor PrivacyDropdown to TypeScript

Port 8a235dd187 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion authored and Claire committed 2025-11-21 19:35:20 +01:00
1 parent 652ed7ab50
commit 975c7097b8
4 files changed
+203 -178

No files matched your search

@@ -53,7 +53,10 @@ export const BoostModal: React.FC<{
}, [onClose]);
const findContainer = useCallback(
() => document.getElementsByClassName('modal-root__container')[0],
() =>
document.getElementsByClassName(
'modal-root__container',
)[0] as HTMLDivElement,
[],
);