refactor: remove useless assignment

This commit is contained in:
Yasin Silavi 2023-09-12 22:04:18 +03:30 committed by Bill Thornton
parent 6664b6ec62
commit 082d9e55c6

View file

@ -22,7 +22,7 @@ export default async function (text, title) {
return Promise.resolve();
}
const items = [
options.buttons = [
{
name: globalize.translate('ButtonGotIt'),
id: 'ok',
@ -30,7 +30,5 @@ export default async function (text, title) {
}
];
options.buttons = items;
return dialog.show(options);
}