Remove conditional statement
kingingcole opened this issue · comments
todo-hooks/src/components/TodoSection.js
Line 45 in 0e1d19f
Since in code block before this line, an
if
statement already checks if there are no todos and returns "No Todo", then there's no point for this conditional statement.