mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 15:16:44 -06:00
refactor(frontend): Remove unused directives (#14085)
This commit is contained in:
parent
b95a0457a9
commit
634764e1a6
2 changed files with 0 additions and 2 deletions
|
@ -104,7 +104,6 @@ async function requestRender() {
|
|||
});
|
||||
} else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) {
|
||||
const { default: Widget } = await import('@mcaptcha/vanilla-glue');
|
||||
// @ts-expect-error avoid typecheck error
|
||||
new Widget({
|
||||
siteKey: {
|
||||
instanceUrl: new URL(props.instanceUrl),
|
||||
|
|
|
@ -11,6 +11,5 @@ import { I18n } from '@/scripts/i18n.js';
|
|||
export const i18n = markRaw(new I18n<Locale>(locale));
|
||||
|
||||
export function updateI18n(newLocale: Locale) {
|
||||
// @ts-expect-error -- private field
|
||||
i18n.locale = newLocale;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue