Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 21, 2022
1 parent c6cd8a8 commit cc3e057
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dataloader/app/routes/users/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export const loader: LoaderFunction = async ({ context }) => {
const user2 = context.loaders.usersById.load(
"2cbad877-2da6-422d-baa6-c6a96a9e085f"
);
const user3 = context.loaders.usersById.load(
"does_not_exist"
);
const user3 = context.loaders.usersById.load("does_not_exist");
const user4 = context.loaders.usersById.load(
"1dd9e502-343d-4acb-9391-2bc52d5ea904"
);
Expand All @@ -42,7 +40,7 @@ export default function UserEmails() {
<h2>Emails</h2>
<ul>
{users.map((user, i) => (
<li key={i}>{user ? user.email : 'Not found'}</li>
<li key={i}>{user ? user.email : "Not found"}</li>
))}
</ul>
</section>
Expand Down

0 comments on commit cc3e057

Please sign in to comment.