chore(antd): straightening out button import paths (#29969)

This commit is contained in:
Evan Rusackas
2024-08-19 20:15:34 -06:00
committed by GitHub
parent 7e88649730
commit 5ec3093deb
4 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
*/
import { useState } from 'react';
import { SupersetTheme, t } from '@superset-ui/core';
import { AntdButton, AntdSelect } from 'src/components';
import { Button, AntdSelect } from 'src/components';
import InfoTooltip from 'src/components/InfoTooltip';
import FormLabel from 'src/components/Form/FormLabel';
import Icons from 'src/components/Icons';
@@ -142,14 +142,14 @@ export const EncryptedField = ({
</div>
{!fileToUpload && (
<AntdButton
<Button
className="input-upload-btn"
onClick={() =>
document?.getElementById('selectedFile')?.click()
}
>
{t('Choose File')}
</AntdButton>
</Button>
)}
{fileToUpload && (
<div className="input-upload-current">