Skip to content

Commit ad11615

Browse files
authored
remove unnecessary check (#110)
1 parent 273b7ed commit ad11615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/events/src/components/todos.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const Todos = () => {
2525
Create Todo
2626
</Button>
2727
</div>
28-
{(todos ?? []).map((todo) => (
28+
{todos.map((todo) => (
2929
<div key={todo.id} className="flex flex-row items-center gap-2">
3030
<h2>{todo.name}</h2>
3131
<input

0 commit comments

Comments
 (0)