Skip to content

Commit

Permalink
removed Host from avatar
Browse files Browse the repository at this point in the history
Refs: #7036
  • Loading branch information
AlexanderSchmidtCE committed Nov 13, 2024
1 parent 4002bfa commit 1829fb9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/components/src/components/avatar/shadow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { JSX } from '@stencil/core';
import { Component, h, Host, Prop } from '@stencil/core';
import { Component, h, Prop } from '@stencil/core';

import type { AvatarProps } from '../../schema';
import { KolAvatarWcTag } from '../../core/component-names';
Expand All @@ -13,11 +13,7 @@ import { KolAvatarWcTag } from '../../core/component-names';
})
export class KolAvatar implements AvatarProps {
public render(): JSX.Element {
return (
<Host>
<KolAvatarWcTag _src={this._src} _label={this._label}></KolAvatarWcTag>
</Host>
);
return <KolAvatarWcTag _src={this._src} _label={this._label}></KolAvatarWcTag>;
}

/**
Expand Down

0 comments on commit 1829fb9

Please sign in to comment.