Skip to content

Commit

Permalink
Merge pull request #103 from fogbender/fix-feat--code-improvements
Browse files Browse the repository at this point in the history
feat: Code Improvements
  • Loading branch information
JLarky committed Jun 29, 2023
2 parents 4afaf4d + 2c8929c commit 1e46015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/app/Prompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function Prompt() {

return (
<Layout>
<div className="flex flex-col items-start items-center gap-4 sm:flex-row">
<div className="flex flex-col items-center gap-4 sm:flex-row">
<h3 className="w-full max-w-2xl truncate text-2xl font-bold sm:w-fit md:max-w-4xl">
{websiteTitle} / {promptQuery.data ? promptQuery.data.prompt.title : 'Loading...'}
</h3>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/trpc/routers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const authRouter = createTRPCRouter({
exp: String(decodedJwt.exp),
};
const httpOnlyCookie = {
accessToken: input.accessToken!,
accessToken: input.accessToken,
};
set(HTTP_ONLY_AUTH_COOKIE_NAME, '' + new URLSearchParams(httpOnlyCookie));
set(AUTH_COOKIE_NAME, '' + new URLSearchParams(publicCookie));
Expand Down

1 comment on commit 1e46015

@vercel
Copy link

@vercel vercel bot commented on 1e46015 Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.