Without any input empty list is created
Mihir-Maurya opened this issue · 1 comments
Mihir-Maurya commented
When we don't give input and press Enter then it creates a empty list.
sahandghavidel commented
use if(!input.trim()){return} to fix it
Mihir-Maurya opened this issue · 1 comments
When we don't give input and press Enter then it creates a empty list.
use if(!input.trim()){return} to fix it