style(typo): occured -> occurred (#20116)

* Occured -> Occurred

* Occured -> Occurred

* Occured -> Occurred

* Occured - > Occurred

* Update FallbackComponent.tsx

* Update FallbackComponent.tsx

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
This commit is contained in:
Sam Firke 2022-06-20 11:49:45 -04:00 committed by GitHub
parent 111affdb02
commit b7eb235440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ export default function FallbackComponent({
>
<div>
<div>
<b>Oops! An error occured!</b>
<b>Oops! An error occurred!</b>
</div>
<code>{error ? error.toString() : 'Unknown Error'}</code>
</div>

View File

@ -121,7 +121,7 @@ describe('SuperChart', () => {
);
await new Promise(resolve => setImmediate(resolve));
wrapper.update();
expect(wrapper.text()).toContain('Oops! An error occured!');
expect(wrapper.text()).toContain('Oops! An error occurred!');
});
it('renders custom FallbackComponent', () => {
expectedErrors = 1;

View File

@ -325,7 +325,7 @@ export function saveDashboardRequest(data, id, saveType) {
const onError = async response => {
const { error, message } = await getClientErrorObject(response);
let errorText = t('Sorry, an unknown error occured');
let errorText = t('Sorry, an unknown error occurred');
if (error) {
errorText = t(

View File

@ -3478,7 +3478,7 @@
"This dashboard was saved successfully.": [
"Dit dashboard is succesvol opgeslagen."
],
"Sorry, an unknown error occured": [""],
"Sorry, an unknown error occurred": [""],
"Sorry, there was an error saving this dashboard: %s": [""],
"You do not have permission to edit this dashboard": [
"U hebt geen toestemming om dit dashboard te bewerken"