Skip to content

Commit be3d62a

Browse files
committed
Initial state for Filtering Todos set
1 parent 4371f7e commit be3d62a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const App: FC = () => {
88

99
const [toDoInput, setToDoInput] = useState<string>('');
1010
const [todos, setTodos] = useState<string[]>([]);
11+
const [filterTodos, setFilterTodos] = useState<string>('all');
1112

1213

1314
return <div >

0 commit comments

Comments
 (0)