Skip to content

Commit

Permalink
fix: android crash icon issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj Ajay Joshi authored and Viraj Ajay Joshi committed Jun 4, 2024
1 parent 3f0396a commit 1d14347
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/unstyled/icon/src/createIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ export function createIcon<IconProps>({
if (resolvedProps.size) {
// sizeProps = { ...sizeProps, fontSize: resolvedProps?.size };
}
} else if (resolvedProps.size) {
sizeStyle = {
height: resolvedProps.size,
width: resolvedProps.size,
};
}

return (
Expand Down
5 changes: 0 additions & 5 deletions packages/unstyled/icon/src/createIcon/index.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ export function createIcon<IconProps>({
if (resolvedProps.size) {
// sizeProps = { ...sizeProps, fontSize: resolvedProps?.size };
}
} else if (resolvedProps.size) {
sizeStyle = {
height: resolvedProps.size,
width: resolvedProps.size,
};
}

return (
Expand Down

0 comments on commit 1d14347

Please sign in to comment.