We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691c668 commit c837187Copy full SHA for c837187
nextjs-app/app/client-utils.ts
@@ -5,7 +5,7 @@ import { toast } from "sonner";
5
6
export function handleError(error: unknown) {
7
if (isCorsOriginError(error)) {
8
- // If the error is a CORS origin error, lets display that specific error.
+ // If the error is a CORS origin error, let's display that specific error.
9
const { addOriginUrl } = error;
10
toast.error(`Sanity Live couldn't connect`, {
11
description: `Your origin is blocked by CORS policy`,
0 commit comments