You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Remove all usages of UNSAFE_* React methods (#9583)
This commit is contained in:
committed by
GitHub
parent
38dbe8ed33
commit
590b845f3f
@ -52,7 +52,7 @@ class DOMRect {
|
||||
window.DOMRect = DOMRect;
|
||||
|
||||
// Work around missing ClipboardEvent type
|
||||
class MyClipboardEvent {}
|
||||
class MyClipboardEvent extends Event {}
|
||||
window.ClipboardEvent = MyClipboardEvent as any;
|
||||
|
||||
// matchMedia is not included in jsdom
|
||||
|
Reference in New Issue
Block a user