1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-12 21:59:02 +09:00

Merge branch 'develop' into feat-1714

This commit is contained in:
かっこかり 2024-06-26 08:32:30 +09:00 committed by GitHub
commit cff032012e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -104,7 +104,6 @@ async function requestRender() {
}); });
} else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) { } else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) {
const { default: Widget } = await import('@mcaptcha/vanilla-glue'); const { default: Widget } = await import('@mcaptcha/vanilla-glue');
// @ts-expect-error avoid typecheck error
new Widget({ new Widget({
siteKey: { siteKey: {
instanceUrl: new URL(props.instanceUrl), instanceUrl: new URL(props.instanceUrl),

View File

@ -11,6 +11,5 @@ import { I18n } from '@/scripts/i18n.js';
export const i18n = markRaw(new I18n<Locale>(locale)); export const i18n = markRaw(new I18n<Locale>(locale));
export function updateI18n(newLocale: Locale) { export function updateI18n(newLocale: Locale) {
// @ts-expect-error -- private field
i18n.locale = newLocale; i18n.locale = newLocale;
} }