mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Remove unnecessary Fragment component.
This commit is contained in:
parent
33717f26d4
commit
0de5f594fe
@ -1,5 +1,3 @@
|
||||
import React, { Fragment } from 'react'
|
||||
|
||||
import {
|
||||
Edit,
|
||||
FormDataConsumer,
|
||||
@ -17,10 +15,10 @@ import { isWritable, Title } from '../common'
|
||||
|
||||
const SyncFragment = ({ formData, variant, ...rest }) => {
|
||||
return (
|
||||
<Fragment>
|
||||
<>
|
||||
{formData.path && <BooleanInput source="sync" {...rest} />}
|
||||
{formData.path && <TextField source="path" {...rest} />}
|
||||
</Fragment>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user