Skip to content

Commit 26c3848

Browse files
committed
update message and matcher
1 parent 11bde5b commit 26c3848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/error/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function ErrorPage() {
5252
}
5353

5454
const isBlockedUser = error?.code === 403 && error?.message?.toLowerCase().includes("blocked");
55-
const isPendingApproval = error?.code === 403 && error?.message?.toLowerCase().includes("pending");
55+
const isPendingApproval = error?.code === 403 && error?.message?.toLowerCase().includes("pending approval");
5656

5757
const getTitle = () => {
5858
if (isBlockedUser) return "User Account Blocked";

0 commit comments

Comments
 (0)