If you end up with soggy hash browns, it’s because you have too much water in your potatoes.
After grating the potato, add in salt to the grated potato and mix well. Allow the mixture to drain for at least 10 minutes and then squeeze out any extra water. Any excess water will make your hash browns soggy.