packages/core/src/hooks/button/refresh-button/index.tsx
Function useRefreshButton
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function useRefreshButton(
props: RefreshButtonProps,
): RefreshButtonValues {
const translate = useTranslate();
const { keys, preferLegacyKeys } = useKeys();