mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
24 lines
471 B
TypeScript
24 lines
471 B
TypeScript
import type { Feature } from './types';
|
|
|
|
import services from '../services';
|
|
|
|
const title = 'Export data to CSV file';
|
|
|
|
const config: Feature<{ reCaptcha: { siteKey: string } }> = (() => {
|
|
if (services.reCaptchaV2.siteKey) {
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: true,
|
|
reCaptcha: {
|
|
siteKey: services.reCaptchaV2.siteKey,
|
|
},
|
|
});
|
|
}
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: false,
|
|
});
|
|
})();
|
|
|
|
export default config;
|