The interest rate hike won’t affect your mortgage if you have a fixed-rate mortgage. If you have a variable rate mortgage, that rate is likely to increase slightly, and will change again as the Fed makes more benchmark rate increases throughout 2022.
This might be a good time to consider a refinance to a fixed-rate mortgage to avoid surprises down the line.