mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
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>
|
||||||
<div>
|
<div>
|
||||||
<b>Oops! An error occured!</b>
|
<b>Oops! An error occurred!</b>
|
||||||
</div>
|
</div>
|
||||||
<code>{error ? error.toString() : 'Unknown Error'}</code>
|
<code>{error ? error.toString() : 'Unknown Error'}</code>
|
||||||
</div>
|
</div>
|
||||||
|
@ -121,7 +121,7 @@ describe('SuperChart', () => {
|
|||||||
);
|
);
|
||||||
await new Promise(resolve => setImmediate(resolve));
|
await new Promise(resolve => setImmediate(resolve));
|
||||||
wrapper.update();
|
wrapper.update();
|
||||||
expect(wrapper.text()).toContain('Oops! An error occured!');
|
expect(wrapper.text()).toContain('Oops! An error occurred!');
|
||||||
});
|
});
|
||||||
it('renders custom FallbackComponent', () => {
|
it('renders custom FallbackComponent', () => {
|
||||||
expectedErrors = 1;
|
expectedErrors = 1;
|
||||||
|
@ -325,7 +325,7 @@ export function saveDashboardRequest(data, id, saveType) {
|
|||||||
|
|
||||||
const onError = async response => {
|
const onError = async response => {
|
||||||
const { error, message } = await getClientErrorObject(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) {
|
if (error) {
|
||||||
errorText = t(
|
errorText = t(
|
||||||
|
@ -3478,7 +3478,7 @@
|
|||||||
"This dashboard was saved successfully.": [
|
"This dashboard was saved successfully.": [
|
||||||
"Dit dashboard is succesvol opgeslagen."
|
"Dit dashboard is succesvol opgeslagen."
|
||||||
],
|
],
|
||||||
"Sorry, an unknown error occured": [""],
|
"Sorry, an unknown error occurred": [""],
|
||||||
"Sorry, there was an error saving this dashboard: %s": [""],
|
"Sorry, there was an error saving this dashboard: %s": [""],
|
||||||
"You do not have permission to edit this dashboard": [
|
"You do not have permission to edit this dashboard": [
|
||||||
"U hebt geen toestemming om dit dashboard te bewerken"
|
"U hebt geen toestemming om dit dashboard te bewerken"
|
||||||
|
Loading…
Reference in New Issue
Block a user