Merge commit '4045c069f8f91200d0e7c64a8097e425aee71041' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2024-05-01 17:26:21 +02:00
commit 3503fe1865
25 files changed
+268 -146

No files matched your search

+1 -1
View File
@@ -363,6 +363,6 @@ ready(() => {
document.querySelectorAll('[data-admin-component]').forEach((element) => {
void mountReactComponent(element);
});
}).catch((reason) => {
}).catch((reason: unknown) => {
throw reason;
});
+4 -4
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);
});