Remove user-generated details
This goes somewhere else
This commit is contained in:
parent
662062b622
commit
f0cf09dc31
3 changed files with 0 additions and 39 deletions
|
|
@ -78,19 +78,6 @@ const CharacterGrid = (props: Props) => {
|
||||||
// Store the important party and state-keeping values
|
// Store the important party and state-keeping values
|
||||||
appState.party.id = party.id
|
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)
|
setFound(true)
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,19 +88,6 @@ const SummonGrid = (props: Props) => {
|
||||||
// Store the important party and state-keeping values
|
// Store the important party and state-keeping values
|
||||||
appState.party.id = party.id
|
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)
|
setFound(true)
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,19 +85,6 @@ const WeaponGrid = (props: Props) => {
|
||||||
appState.party.id = party.id
|
appState.party.id = party.id
|
||||||
appState.party.extra = party.is_extra
|
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)
|
setFound(true)
|
||||||
setLoading(false)
|
setLoading(false)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue