mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Fix bug in feature settings
This commit is contained in:
@@ -110,7 +110,7 @@ const FeatureSettings = () => {
|
||||
imageName: feature?.image.name || '',
|
||||
imageSource: feature?.image.src || '',
|
||||
featureType: feature?.featureType || '',
|
||||
price: feature?.price || 0,
|
||||
price: feature?.price.toString() || '',
|
||||
repo: feature?.repo || '',
|
||||
},
|
||||
validationSchema: Yup.object().shape({
|
||||
@@ -140,7 +140,7 @@ const FeatureSettings = () => {
|
||||
description,
|
||||
featureType,
|
||||
image: { name: imageName, src: imageSource },
|
||||
price,
|
||||
price: parseFloat(price),
|
||||
repo,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user