mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Make prettier happy
This commit is contained in:
parent
af4b21cd0e
commit
8502233c74
1 changed files with 4 additions and 1 deletions
|
|
@ -91,7 +91,10 @@ function exposeDecorated<P extends Record<string, any>>(
|
|||
};
|
||||
}
|
||||
|
||||
function getDecorated<P extends Record<string, any>>(parent: React.ComponentType<P>, name: string): React.ComponentClass<P> {
|
||||
function getDecorated<P extends Record<string, any>>(
|
||||
parent: React.ComponentType<P>,
|
||||
name: string
|
||||
): React.ComponentClass<P> {
|
||||
if (!decorated[name]) {
|
||||
let class_ = exposeDecorated(parent);
|
||||
(class_ as any).displayName = `_exposeDecorated(${name})`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue