try to use just one static and pass the text that will be on the p tag as a parameter, so you don't have a lot of functions there
static accordion(ballInfo, content) {
if (ballInfo.isRetrieving) {
return (
);
} else if (ballInfo.error) {
return (
Unavailable
);
} else {
return (
{{content}}
);
}
}
so on your call to the accordion, you just add the other parameter