Skip to content

Commit a93b227

Browse files
authored
Merge pull request #189 from ZhiliangLiu/zoranliu/fix-style-util-error
fix style plugin
2 parents 0305ed6 + 1d6e16c commit a93b227

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/fabric/lib/utils/styles-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function Styled<T extends IConstructor>(componentName: string) {
5555
handler.beforeNgDestroy.apply(this);
5656
}
5757
if (ngOnDestroy) {
58-
ngOnDestroy.ngOnDestroy.apply(this);
58+
ngOnDestroy.apply(this);
5959
}
6060
}
6161

0 commit comments

Comments
 (0)