mirror of https://github.com/apache/superset.git
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:
parent
111affdb02
commit
b7eb235440
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue