We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb7375 commit aa9ff5cCopy full SHA for aa9ff5c
utils/xlug.ts
@@ -14,7 +14,7 @@ export async function createXlug(data: Partial<Xlug>): Promise<Xlug | null> {
14
15
if (error)
16
throw Error(
17
- error.code === "23505" ? "This xlug is alreadt taken, try another one" : "Something went wrong, please try again"
+ error.code === "23505" ? "This xlug is already taken, try another one" : "Something went wrong, please try again"
18
);
19
20
return xlugData?.[0] ?? null;
0 commit comments