Skip to content

Commit

Permalink
Merge branch 'graphql-auth' of https://github.com/upleveled/graphql-e…
Browse files Browse the repository at this point in the history
…xample-fall-2024-atvie into graphql-auth
  • Loading branch information
Eprince-hub committed Nov 3, 2024
2 parents 5952f2e + 41ad556 commit f35f2ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/notes/[noteId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default async function NotePage(props: Props) {
if (!note) {
return (
<div>
<h1>Restricted access</h1>
<h1>Access Denied</h1>
<div>You do not have permission to access this note</div>
<Link href="/notes">Back to notes</Link>
</div>
);
Expand Down

0 comments on commit f35f2ca

Please sign in to comment.