mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-27 10:30:31 +00:00
Remove react fragments
This commit is contained in:
parent
558e2dd8e5
commit
df45d98cfb
@ -10,11 +10,7 @@ interface StandartGaugeProps {
|
||||
data: Data[]
|
||||
}
|
||||
|
||||
const StandartGauge = (props: StandartGaugeProps) => {
|
||||
const { data } = props
|
||||
|
||||
return (
|
||||
<>
|
||||
const StandartGauge = ({ data }: StandartGaugeProps) => (
|
||||
<ResponsivePie
|
||||
data={data}
|
||||
margin={{ top: 40, right: 80, bottom: 80, left: 80 }}
|
||||
@ -27,7 +23,6 @@ const StandartGauge = (props: StandartGaugeProps) => {
|
||||
enableArcLabels={false}
|
||||
legends={[]}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
export default StandartGauge
|
||||
|
Loading…
x
Reference in New Issue
Block a user