misskey/src/client/scripts/show-suspended-dialog.ts
syuilo 54e0a7f8a8
feat: 凍結された場合のダイアログを実装 (#7811)
* feat: 凍結された場合のダイアログを実装

* Update CHANGELOG.md

* Update basic.js

* improve error handling

* cypressなんもわからん

* Update basic.js
2021-09-19 02:23:12 +09:00

11 lines
256 B
TypeScript

import * as os from '@client/os';
import { i18n } from '@client/i18n';
export function showSuspendedDialog() {
return os.dialog({
type: 'error',
title: i18n.locale.yourAccountSuspendedTitle,
text: i18n.locale.yourAccountSuspendedDescription
});
}