Other state tax paid and refund from nonresident state

I live in California and earned small W-2 income in Michigan as a nonresident. As state tax was withheld by Michigan, I first prepared Michigan return then California. I entered on other state tax paid manually. Credit applied and reduced my tax liability to California (slightly smaller amount than Michigan tax) but I still see refund on Michigan return. Am I handling this correctly? Didn't I need to enter other state tax credit if nonresident state tax is refund? I thought that I receive credit on California return and no refund from Michigan. Thank you for your help!