Skip to content

Commit 2730fe8

Browse files
chore(_official-tutorial): cleanup example (#181)
1 parent bfb7c5c commit 2730fe8

File tree

4 files changed

+5
-44
lines changed

4 files changed

+5
-44
lines changed

_official-tutorial/app/entry.client.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

_official-tutorial/app/entry.server.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

_official-tutorial/app/root.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as React from "react";
2-
import type { LinksFunction } from "@remix-run/node";
32
import { redirect } from "@remix-run/node";
43
import {
54
Form,

_official-tutorial/app/routes/contacts.$contactId.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ export default function Contact() {
3737
return (
3838
<div id="contact">
3939
<div>
40-
<img key={contact.avatar} src={contact.avatar} />
40+
<img
41+
alt={`${contact.firstName} ${contact.lastName}`}
42+
key={contact.avatar}
43+
src={contact.avatar}
44+
/>
4145
</div>
4246

4347
<div>

0 commit comments

Comments
 (0)