Skip to content

Commit

Permalink
Clarifying and fixing formatting of a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
izaaklauer committed Dec 19, 2024
1 parent d9bf42f commit abf0670
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/organizations/org-slugs-in-urls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ This guide is intended for apps that require org slugs in URLs. **It's recommend
export default function Home({ params }: { params: { slug: string } }) {
const { orgSlug } = auth()

// Verify mismatch between route param and active organization slug from user's session
// Check for a match between route param and active organization slug
// from the user's session, and if so, show the list of valid
// organizations.
if (params.slug != orgSlug) {
return (
<>
Expand Down

0 comments on commit abf0670

Please sign in to comment.