Remove user-generated details

This goes somewhere else
This commit is contained in:
Justin Edmund 2022-02-24 18:14:32 -08:00
parent 662062b622
commit f0cf09dc31
3 changed files with 0 additions and 39 deletions

View file

@ -78,19 +78,6 @@ const CharacterGrid = (props: Props) => {
// Store the important party and state-keeping values
appState.party.id = party.id
// Store the party's user-generated details
if (party.name) {
appState.party.name = {
en: party.name.en,
jp: party.name.jp
}
}
if (party.description)
appState.party.description = party.description
if (party.raid)
appState.raid = party.raid
setFound(true)
setLoading(false)

View file

@ -88,19 +88,6 @@ const SummonGrid = (props: Props) => {
// Store the important party and state-keeping values
appState.party.id = party.id
// Store the party's user-generated details
if (party.name) {
appState.party.name = {
en: party.name.en,
jp: party.name.jp
}
}
if (party.description)
appState.party.description = party.description
if (party.raid)
appState.raid = party.raid
setFound(true)
setLoading(false)

View file

@ -85,19 +85,6 @@ const WeaponGrid = (props: Props) => {
appState.party.id = party.id
appState.party.extra = party.is_extra
// Store the party's user-generated details
if (party.name) {
appState.party.name = {
en: party.name.en,
jp: party.name.jp
}
}
if (party.description)
appState.party.description = party.description
if (party.raid)
appState.raid = party.raid
setFound(true)
setLoading(false)