merge: improve block confirmation dialog. (!790)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/790

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
This commit is contained in:
dakkar 2024-11-29 16:23:22 +00:00
commit 495a19540b

View file

@ -103,8 +103,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
async function getConfirmed(text: string): Promise<boolean> {
const confirm = await os.confirm({
type: 'warning',
title: 'confirm',
type: 'question',
text,
});