UE4 Water System Problems

I’m using the 4.26 version. I am also using the water plugin. It works well, but I have a problem with the transition between an ocean and a river.

How do I
fix this?