Skip to content

Commit e6bfc17

Browse files
authored
update root.tsx, fix typo (#263)
1 parent 37a114a commit e6bfc17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export async function loader({ request }: DataFunctionArgs) {
100100
// them in the database. Maybe they were deleted? Let's log them out.
101101
await authenticator.logout(request, { redirectTo: '/' })
102102
}
103-
const { flash, headers: flasHeaders } = await getFlashSession(request)
103+
const { flash, headers: flashHeaders } = await getFlashSession(request)
104104

105105
return json(
106106
{
@@ -119,7 +119,7 @@ export async function loader({ request }: DataFunctionArgs) {
119119
{
120120
headers: combineHeaders(
121121
{ 'Server-Timing': timings.toString() },
122-
flasHeaders,
122+
flashHeaders,
123123
),
124124
},
125125
)

0 commit comments

Comments
 (0)