fix: shut up josh

This commit is contained in:
zkldi
2022-08-27 15:30:33 +01:00
parent 62b342cd74
commit 7e8d54bef5
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export function ErrorPage({
"Looks like the server has completely crashed. Ah well. Try reloading, but there's no promises.";
break;
default:
message = "An unexpected error has occured. This has been reported!";
message = "An unexpected error has occurred. This has been reported!";
break;
}
} else {
+1 -1
View File
@@ -60,7 +60,7 @@ export default function LoginPage() {
if (!userRJ.success) {
console.error("Error retrieving own user?");
setErr("An internal server error has occured.");
setErr("An internal server error has occurred.");
return;
}
@@ -68,7 +68,7 @@ export default function ScoreDropdown<I extends IDStrings = IDStrings>({
);
if (error) {
return <>An error has occured. Whoops.</>;
return <>An error has occurred. Whoops.</>;
}
if (!data) {
+1 -1
View File
@@ -7,7 +7,7 @@ export default function ApiError({ error }: { error: UnsuccessfulAPIFetchRespons
return (
<div>
An error has occured
An error has occurred
{settings?.preferences.developerMode ? ` (${error.description})` : ""}
</div>
);
@@ -26,7 +26,7 @@ export default class DashboardErrorBoundary extends React.Component<
<h1>Whoops!</h1>
<br />
<h4>
A fatal error has occured in rendering this page. You should report this!
A fatal error has occurred in rendering this page. You should report this!
</h4>
<Divider />
<h3 className="mb-2">Error Log</h3>
+1 -1
View File
@@ -23,7 +23,7 @@ export default class ErrorBoundary extends React.Component<any, { error: any; in
<h1>Whoops!</h1>
<br />
<h4>
A fatal error has occured in rendering this page. You should report this!
A fatal error has occurred in rendering this page. You should report this!
</h4>
<Divider />
<h3 className="mb-2">Error Log</h3>
@@ -14,7 +14,7 @@ export default function LoadingWrapper({
style?: CSSProperties;
}) {
if (error) {
return <h3>An error has occured. {error.description}</h3>;
return <h3>An error has occurred. {error.description}</h3>;
}
if (!dataset) {