mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
clean up step 2-2
This commit is contained in:
@@ -6,7 +6,7 @@ import { TodoList } from './TodoList';
|
||||
|
||||
export const TodoApp = (props: {}) => (
|
||||
<Stack horizontalAlign="center">
|
||||
<Stack style={{ width: 400 }} verticalGap={25}>
|
||||
<Stack style={{ width: 400 }} gap={25}>
|
||||
<TodoHeader />
|
||||
<TodoList />
|
||||
<TodoFooter />
|
||||
|
||||
@@ -23,7 +23,7 @@ class TodoList extends React.Component<TodoListProps> {
|
||||
});
|
||||
|
||||
return (
|
||||
<Stack verticalGap={10}>
|
||||
<Stack gap={10}>
|
||||
{filteredTodos.map(id => (
|
||||
<TodoListItem key={id} id={id} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user