I am a hybrid worker but my company is only taking taxes from my home address (RI). I split my time 40% (MA) & 60% (RI). How should I be taxed?

Essentially I am being taxed as a fully remote worker but I am a hybrid worker (commute two days to office in MA)