Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build release #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"devDependencies": {
"@tailwindcss/forms": "^0.3.3",
"@types/react": "17.0.27",
"eslint": "7.32.0",
"eslint-config-next": "11.1.2",
"autoprefixer": "^10.3.7",
"postcss": "^8.3.9",
"prettier": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function Home({ posts }: { posts: Post[] }) {
<H1>My Blog</H1>
{auth.ready && auth.sessionData ? (
<p>
You're signed in as {auth.sessionData.name} |{' '}
You&apos;re signed in as {auth.sessionData.name} |{' '}
<button onClick={() => auth.signOut()}>sign out</button>
</p>
) : (
Expand Down
2 changes: 1 addition & 1 deletion pages/signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function SigninPage() {
// FIXME: there's a cache issue with Urql where it's not reloading the
// current user properly if we do a client-side redirect here.
// router.push('/');
top.location.href = '/';
top!.location!.href = '/';
} else {
setEmail('');
setPassword('');
Expand Down
2 changes: 1 addition & 1 deletion pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function SignupPage() {
// FIXME: there's a cache issue with Urql where it's not reloading the
// current user properly if we do a client-side redirect here.
// router.push('/');
top.location.href = '/';
top!.location!.href = '/';
}
});
}}
Expand Down
Loading