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…
Reference in New Issue