Refactor PrivacyDropdown to TypeScript (#36979)
This commit is contained in:
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,
|
||||
[],
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user