The rewritten sentence is: Erica los tiene en la bolsa.
In this sentence, the direct object pronoun "los" is used because "bloques" is a masculine plural noun. The direct object pronoun must agree in gender and number with the noun it replaces. Since "bloques" is masculine (el bloque) and plural (bloques), we use "los" as the correct pronoun.