Prevent wrong Trefle API plant information from appearing in the view plant card.
Set up a conditional that will compare the returned common_name with the plant's actual name.
If it does not match, create new instance of Trefle Plant with default values.
Prevent wrong Trefle API plant information from appearing in the view plant card. Set up a conditional that will compare the returned common_name with the plant's actual name. If it does not match, create new instance of Trefle Plant with default values.