mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-22 14:55:42 +00:00
Bump dev, apply JSX rules (#301)
This commit is contained in:
@@ -19,8 +19,8 @@ export default function Empty ({ size }: Props): React.ReactElement<Props> {
|
||||
<Circle
|
||||
cx='32'
|
||||
cy='32'
|
||||
r='32'
|
||||
fill='#eee'
|
||||
r='32'
|
||||
/>
|
||||
</Svg>
|
||||
</View>
|
||||
|
||||
@@ -13,14 +13,14 @@ interface Props extends BaseProps {
|
||||
sixPoint?: boolean;
|
||||
}
|
||||
|
||||
function renderCircle ({ cx, cy, r, fill }: CircleType, key: number): React.ReactNode {
|
||||
function renderCircle ({ cx, cy, fill, r }: CircleType, key: number): React.ReactNode {
|
||||
return (
|
||||
<SvgCircle
|
||||
key={key}
|
||||
cx={cx}
|
||||
cy={cy}
|
||||
r={r}
|
||||
fill={fill}
|
||||
key={key}
|
||||
r={r}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -31,8 +31,8 @@ export default function Identicon ({ address, sixPoint, size }: Props): React.Re
|
||||
<Svg
|
||||
height={size}
|
||||
id={address}
|
||||
width={size}
|
||||
viewBox='0 0 64 64'
|
||||
width={size}
|
||||
>
|
||||
{generateIcon(address, sixPoint).map(renderCircle)}
|
||||
</Svg>
|
||||
|
||||
Reference in New Issue
Block a user