Skip to content

Commit b636a69

Browse files
committed
chore: linting
1 parent 0953ed1 commit b636a69

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

client/src/lib/submission-error.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,15 @@ export function handleSubmissionFailure(
120120
let description: string;
121121
if (isCaughtError) {
122122
description = "An unexpected error occurred. Please try again later.";
123-
} else if (failure.statusCode && failure.statusCode >= 400 && failure.statusCode < 500) {
123+
} else if (
124+
failure.statusCode &&
125+
failure.statusCode >= 400 &&
126+
failure.statusCode < 500
127+
) {
124128
description =
125129
"Please review your data and try again. If the problem persists, contact support.";
126130
} else {
127-
description =
128-
"Our server ran into a problem. Please try again later.";
131+
description = "Our server ran into a problem. Please try again later.";
129132
}
130133

131134
const contactInfo = isAuthenticated

0 commit comments

Comments
 (0)