Merge remote-tracking branch 'parent/main' into upstream-20240404

This commit is contained in:
KMY 2024-04-04 12:02:18 +09:00
commit dd98f9a9a7
21 changed files with 194 additions and 83 deletions

View file

@ -435,6 +435,6 @@ ready(() => {
document.querySelectorAll('[data-admin-component]').forEach((element) => {
void mountReactComponent(element);
});
}).catch((reason) => {
}).catch((reason: unknown) => {
throw reason;
});

View file

@ -69,7 +69,7 @@ window.addEventListener('message', (e) => {
},
'*',
);
}).catch((e) => {
}).catch((e: unknown) => {
console.error('Error in setHeightMessage postMessage', e);
});
});
@ -206,7 +206,7 @@ function loaded() {
return true;
})
.catch((error) => {
.catch((error: unknown) => {
console.error(error);
});
}
@ -448,7 +448,7 @@ Rails.delegate(document, '#registration_new_user,#new_user', 'submit', () => {
});
function main() {
ready(loaded).catch((error) => {
ready(loaded).catch((error: unknown) => {
console.error(error);
});
}
@ -457,6 +457,6 @@ loadPolyfills()
.then(loadLocale)
.then(main)
.then(loadKeyboardExtensions)
.catch((error) => {
.catch((error: unknown) => {
console.error(error);
});