Don't change transcendence_step when updating

Transcendence step was being reset to 0 when updating details about a character from the modal
This commit is contained in:
Justin Edmund 2023-09-01 09:19:49 -07:00
parent 876b5984d4
commit 6e9733e977

View file

@ -73,7 +73,9 @@ const CharacterModal = ({
const [earring, setEarring] = useState<ExtendedMastery>(emptyExtendedMastery)
const [awakening, setAwakening] = useState<Awakening>()
const [awakeningLevel, setAwakeningLevel] = useState(1)
const [transcendenceStep, setTranscendenceStep] = useState(0)
const [transcendenceStep, setTranscendenceStep] = useState(
gridCharacter.transcendence_step
)
// Refs
const headerRef = React.createRef<HTMLDivElement>()