mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 15:19:50 +03:00
fix: shut up josh
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user