Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Co-authored-by: Kent C. Dodds <[email protected]>
  • Loading branch information
hakimLyon and kentcdodds authored Oct 16, 2024
1 parent c2d2244 commit b4d40b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/routes/users+/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
if (!result.success) {
return dataResponse(
{ status: 'error', error: result.error.message } as const,
{
status: 400,
},
{ status: 400 },
)
}
return { status: 'idle', users: result.data } as const
Expand Down

0 comments on commit b4d40b6

Please sign in to comment.