S CORP LOSS IN DC

I have a business registered in DC but i live in Maryland and all  the jobs are completed in DC. For 2022 i have a loss of around -7k which is reported on 1120-S and DC Tax Return. I always complete MD 502 full year resident since i reside in MD but my MD 502 tax return shows the AGI from federal including the loss in DC. Do i need to make any adjustment to my MD tax return since the loss came from DC? Any advice is helpful.