Dehydration would happen if not my mistaken
The answer is Mullerian mimicry.
Mullerian mimicry is a kind of mimicry in which two or more poisonous animals generate identical presences as a shared protective tool. The theory behind this is that if a predator learns to avoid one of the poisonous species, it will also avoid the mimic species as well.
It is a natural process in which two or more often repugnant species, which may or may not be closely associated and share one or more common predators, have started to mimic each other's cautionary signals, for their communal benefit, as predators eventually learn to avoid all of them.
Aminotes include synapsids and sauropsids as well as their ancestors, back to amphibians.
If the predator that feeds off the dart frogs goes extinct or migrates to a different area then the dart fronts will have a much larger population. This means that the resources the dart frogs rely on will start to deminish and their prey will have smaller numbers