Is Tax Paid to South Carolina showing wrong amount for my North Carolina return?

I work in SC, live in NC. Turbotax is showing Tax paid to SC is $3,696 but my W2 shows state income tax paid $5,178. Should I adjust turbotax's number?

Scratch this question. I finally found the answer on the NC Department of Revenue website. Since I am getting a refund from SC of $1,481, the credit I list on my NC tax return is the total tax paid less the refund received. Hope this helps others with 2 state filings.