Withdraws from IRA and Roth accounts

I withdrew $10,000 from a traditional IRA toward the purchase of a new home in 2018. I claimed that $10,000 on my taxes as going toward the home purchase, so that was allocated correctly. However, I also took a second withdraw from a Roth IRA for the same amount and same reason. Can both $10,000 withdraws be claimed as deductions or non-taxable reason for withdraw on my 2018 taxes?