We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7185364 commit aa0f397Copy full SHA for aa0f397
apps/portal/src/app/connect/auth/frameworks/next/page.mdx
@@ -261,10 +261,7 @@ export async function isLoggedIn() {
261
}
262
263
const authResult = await thirdwebAuth.verifyJWT({ jwt: jwt.value });
264
- if (!authResult.valid) {
265
- return false;
266
- }
267
- return true;
+ return authResult.valid;
268
269
270
export async function logout() {
@@ -306,7 +303,7 @@ const AuthenticatedPage = async () => {
306
303
export default AuthenticatedPage;
307
304
```
308
305
309
-That's it! You know have a working SIWE Next.js app.
+That's it! You now have a working SIWE Next.js app.
310
311
## Support
312
0 commit comments