Home Depot’s sales growth was mainly driven by share gains among pro and DIY customers|Mike Mozart|CC BY 2.0

Retailer Home Depot’s second-quarter results surpassed Wall Street expectations, with revenue rising 5.7% to $47.86 billion, above an anticipated $47.27 billion.

Net income reached $4.77 billion, up from $4.55 billion a year prior.

Despite the strong performance, CFO Richard McPhail told CNBC that the company is seeing “frozen housing market conditions” and fewer big home projects from consumers.

Sales growth was mainly driven by gains in share among pro and DIY customers.

McPhail noted that Home Depot received $730 million in tariff refunds in Q2, using $685 million to reduce cost of goods sold and placing $45 million in inventory.

The home improvement store also reaffirmed its full-year fiscal guidance, projecting total sales growth between 2.5% and 4.5%.

Last week, Home Depot announced that its CEO Ted Decker is on medical leave for a few months.