[Glitch] Fix export style of `<LoadGap />` based on `<Domain />`
Port 4197b5e4c8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/62/head
parent
0009b4b574
commit
6a592083f1
|
@ -16,8 +16,7 @@ interface Props {
|
||||||
intl: InjectedIntl;
|
intl: InjectedIntl;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LoadGap = injectIntl<Props>(
|
const _LoadGap: React.FC<Props> = ({ disabled, maxId, onClick, intl }) => {
|
||||||
({ disabled, maxId, onClick, intl }) => {
|
|
||||||
const handleClick = useCallback(() => {
|
const handleClick = useCallback(() => {
|
||||||
onClick(maxId);
|
onClick(maxId);
|
||||||
}, [maxId, onClick]);
|
}, [maxId, onClick]);
|
||||||
|
@ -32,5 +31,6 @@ export const LoadGap = injectIntl<Props>(
|
||||||
<Icon id='ellipsis-h' />
|
<Icon id='ellipsis-h' />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
export const LoadGap = injectIntl(_LoadGap);
|
||||||
|
|
Loading…
Reference in New Issue