https://devhubby.com/thread/how-to-make-a-condition-if-else-in-the-props-next