if I clean my code by importing validation that is currently included in my function, would that still work with useState inside of that file?.
Also is that a sufficient