Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Home = () => {
<div className="py-5 px-4 bg-dark-subtle rounded-4">
<h1 className="mb-4">
<Logo height={"60px"} />
React ESLint
React ESLint - Action
</h1>
<p className="lead">
React ESLint is a React application that is built to demonstrate the
Expand Down
10 changes: 5 additions & 5 deletions src/pages/UserList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const UserList = () => {
const fetchData = async () => {
try {
const response = await UserService.getAll();
setUsers(response);
} catch (error) {
setUsers([]);
}
};
setUsers(response);
} catch (error) {
setUsers([]);
}
};

fetchData();
}, []);
Expand Down