mirror of
https://github.com/apache/superset.git
synced 2026-06-01 13:49:21 +00:00
chore(antd): straightening out button import paths (#29969)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user