Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot authored and aaronpowell committed May 10, 2022
1 parent 1c42646 commit 7159e8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/blog-tutorial/app/session.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function getSession(request: Request) {
}

export async function getUserId(
request: Request
request: Request
): Promise<User["id"] | undefined> {
const session = await getSession(request);
const userId = session.get(USER_SESSION_KEY);
Expand Down
4 changes: 2 additions & 2 deletions examples/blog-tutorial/app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const DEFAULT_REDIRECT = "/";
* @param {string} defaultRedirect The redirect to use if the to is unsafe.
*/
export function safeRedirect(
to: FormDataEntryValue | string | null | undefined,
defaultRedirect: string = DEFAULT_REDIRECT
to: FormDataEntryValue | string | null | undefined,
defaultRedirect: string = DEFAULT_REDIRECT
) {
if (!to || typeof to !== "string") {
return defaultRedirect;
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^13.5.0",
"@types/eslint": "^8.4.1",
"@types/node": "^17.0.31",
"@types/marked": "^4.0.3",
"@types/node": "^17.0.31",
"@types/react": "^17.0.44",
"@types/react-dom": "^17.0.16",
"@vitejs/plugin-react": "^1.3.2",
Expand Down

0 comments on commit 7159e8e

Please sign in to comment.