mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-20 13:48:09 +00:00
[Glitch] Refactor PrivacyDropdown to TypeScript
Port 8a235dd187 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -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,
|
||||
[],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user