Refactor PrivacyDropdown to TypeScript (#36979)

This commit is contained in:
diondiondion authored and GitHub committed 2025-11-21 13:33:27 +00:00
1 parent 48fe679728
commit 8a235dd187
4 files changed
+203 -178

No files matched your search

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