Skip to content

Commit 3903590

Browse files
committed
Revert "fix(user-block): fix linkAs on Avatar"
This reverts commit 4db8949.
1 parent 8bf5be5 commit 3903590

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/lumx-react/src/components/user-block/UserBlock.stories.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ export const WithLinks = ({ theme }: any) => {
3131
<UserBlock
3232
theme={theme}
3333
name="Emmitt O. Lum"
34-
linkProps={{
35-
href: 'https://www.lumapps.com',
36-
target: '_blank',
37-
}}
34+
linkProps={{ href: 'https://www.lumapps.com', target: '_blank' }}
3835
fields={['Creative developer', 'Denpasar']}
3936
avatarProps={{ image: avatarImageKnob(), alt: 'Avatar' }}
4037
size={size}

packages/lumx-react/src/components/user-block/UserBlock.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ export const UserBlock: Comp<UserBlockProps, HTMLDivElement> = forwardRef((props
146146
>
147147
{avatarProps && (
148148
<Avatar
149-
linkAs={linkAs}
150149
linkProps={linkProps}
151150
{...avatarProps}
152151
className={classNames(`${CLASSNAME}__avatar`, avatarProps.className)}

0 commit comments

Comments
 (0)