If you cast True Polymorph on matter made with the Creation spell will the creature disappear after the duration of Creation ends?

Cast creation to make vegetables that last a day, then cast true polymorph to make a dwarf from the vegetables, does the Creature disappear after a day? It says that if you use the matter created by Creation as a component the spell fails but True Polymorph doesn’t use the target as a component.