diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-02-01 08:11:05 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 12:11:05 +0100 |
commit | 369d179bbf67d34fc4d5f8312d19a106f3552373 (patch) | |
tree | 54849a5a410a00201f5a5ccd2803f31c6fb9475a /src/components | |
parent | 8f4e8d0a9bd29b59cd9ea4e3228fd1b3e73fbfd9 (diff) | |
download | Vencord-369d179bbf67d34fc4d5f8312d19a106f3552373.tar.gz Vencord-369d179bbf67d34fc4d5f8312d19a106f3552373.tar.bz2 Vencord-369d179bbf67d34fc4d5f8312d19a106f3552373.zip |
ShowHiddenChannels: New screen for showing hidden channels (#460)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ErrorBoundary.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index 8ebc61b..a13640e 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -103,7 +103,7 @@ const ErrorBoundary = LazyComponent(() => { }; }) as React.ComponentType<React.PropsWithChildren<Props>> & { - wrap<T extends JSX.IntrinsicAttributes = any>(Component: React.ComponentType<T>, errorBoundaryProps?: Props): React.ComponentType<T>; + wrap<T extends object = any>(Component: React.ComponentType<T>, errorBoundaryProps?: Props): React.ComponentType<T>; }; ErrorBoundary.wrap = (Component, errorBoundaryProps) => props => ( |