They gave me my last day

I've been with my company since March 2024. I had horrible bosses but they retired. I've been helping my company with a merger for the last few months and now they told me that they will be going through another merger. This time the company is going onto an online platform, so my job will become obsolete. I have until the end of March. I have lost motivation to do my job for the next 2 months. I feel a lot of resentment right now.