diff --git a/src/components/pages/Artifacts.tsx b/src/components/pages/Artifacts.tsx
index da6c2b1..83b3668 100644
--- a/src/components/pages/Artifacts.tsx
+++ b/src/components/pages/Artifacts.tsx
@@ -89,10 +89,10 @@ export default function Artifacts() {
};
const getPercent = (affix:IReliquaryAffix)=>{
- if (affix.propType.indexOf("PERCENT") !== -1 || affix.propType.indexOf("CRITICAL") !== -1 || affix.propType.indexOf("EFFICIENCY") !== -1 || affix.propType.indexOf("HURT") !== -1 || affix.propType.indexOf("RATIO") !== -1 || affix.propType.indexOf("ADD") !== -1) {
- return parseFloat(String(affix.propValue*100)).toPrecision(3) + "%";
+ if (affix.PropType.indexOf("PERCENT") !== -1 || affix.PropType.indexOf("CRITICAL") !== -1 || affix.PropType.indexOf("EFFICIENCY") !== -1 || affix.PropType.indexOf("HURT") !== -1 || affix.PropType.indexOf("RATIO") !== -1 || affix.PropType.indexOf("ADD") !== -1) {
+ return parseFloat(String(affix.PropValue*100)).toPrecision(3) + "%";
}
- return parseInt(String(affix.propValue));
+ return parseInt(String(affix.PropValue));
};
const handleGeneratedArtifact = () => {
@@ -156,7 +156,7 @@ export default function Artifacts() {
aria-label="Artifact Main Stats" id="ArtifactMainStats"
className="block w-full shadow-sm focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md"
options={reliquaryMains}
- getOptionLabel={(option) => t(option.propType)}
+ getOptionLabel={(option) => t(option.PropType)}
onChange={handleMainStatChange}
renderInput={(params) =>