mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] run prettier
This commit is contained in:
committed by
Géry Debongnie
parent
307b936d01
commit
150d620b8e
@@ -767,7 +767,7 @@ export async function mount<T extends Type<Component>>(
|
||||
const { env, props, target } = params;
|
||||
let origEnv = C.hasOwnProperty("env") ? (C as any).env : null;
|
||||
if (env) {
|
||||
((C as any) as typeof Component).env = env;
|
||||
(C as any as typeof Component).env = env;
|
||||
}
|
||||
const component: Component = new C(null, props);
|
||||
if (origEnv) {
|
||||
|
||||
Reference in New Issue
Block a user