Investors & landlords

So if the fx loss on principal is not  dedictiible what about the interest earned on the loan. Is it not taxed?  What if the interest does cover the fx loss on principal.