refactor(web/input): input dialog mantine rewrite

This commit is contained in:
Luke
2022-12-16 15:00:01 +01:00
parent f24e43a1a4
commit c419474969
8 changed files with 108 additions and 168 deletions

View File

@@ -57,13 +57,7 @@ const AlertDialog: React.FC = () => {
<ReactMarkdown>{dialogData.content}</ReactMarkdown>
<Group position="right" spacing={10}>
{dialogData.cancel && (
<Button
uppercase
variant="default"
sx={{ transition: '150ms' }}
onClick={() => closeAlert('cancel')}
mr={3}
>
<Button uppercase variant="default" onClick={() => closeAlert('cancel')} mr={3}>
{dialogData.labels?.cancel || locale.ui.cancel}
</Button>
)}