mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Fix lint
This commit is contained in:
parent
5060f612b5
commit
0c1dea91b6
@ -50,10 +50,8 @@ export default function AssetContent(props: AssetContentProps): ReactElement {
|
||||
const [showPricing, setShowPricing] = useState(false)
|
||||
const [showEdit, setShowEdit] = useState<boolean>()
|
||||
const [showEditCompute, setShowEditCompute] = useState<boolean>()
|
||||
const [
|
||||
showEditAdvanceSettings,
|
||||
setShowEditAdvanceSettings
|
||||
] = useState<boolean>()
|
||||
const [showEditAdvanceSettings, setShowEditAdvanceSettings] =
|
||||
useState<boolean>()
|
||||
const [isOwner, setIsOwner] = useState(false)
|
||||
const { ddo, price, metadata, type } = useAsset()
|
||||
const { appConfig } = useSiteMetadata()
|
||||
|
@ -12,13 +12,12 @@ export interface AdvanceSettingsForm {
|
||||
isOrderDisabled: boolean
|
||||
}
|
||||
|
||||
export const validationSchema: Yup.SchemaOf<AdvanceSettingsForm> = Yup.object().shape(
|
||||
{
|
||||
export const validationSchema: Yup.SchemaOf<AdvanceSettingsForm> =
|
||||
Yup.object().shape({
|
||||
allow: Yup.array().nullable(),
|
||||
deny: Yup.array().nullable(),
|
||||
isOrderDisabled: Yup.boolean().nullable()
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
function getAssetCredentials(
|
||||
credentials: Credentials,
|
||||
|
Loading…
Reference in New Issue
Block a user