Fix export style of `<LoadGap />` based on `<Domain />` (#25128)
parent
1d588d58f1
commit
4197b5e4c8
|
@ -16,8 +16,7 @@ interface Props {
|
|||
intl: InjectedIntl;
|
||||
}
|
||||
|
||||
export const LoadGap = injectIntl<Props>(
|
||||
({ disabled, maxId, onClick, intl }) => {
|
||||
const _LoadGap: React.FC<Props> = ({ disabled, maxId, onClick, intl }) => {
|
||||
const handleClick = useCallback(() => {
|
||||
onClick(maxId);
|
||||
}, [maxId, onClick]);
|
||||
|
@ -32,5 +31,6 @@ export const LoadGap = injectIntl<Props>(
|
|||
<Icon id='ellipsis-h' />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
export const LoadGap = injectIntl(_LoadGap);
|
||||
|
|
Loading…
Reference in New Issue