diff --git a/pages/settings/index.js b/pages/settings/index.js index 362a7a39..38384755 100644 --- a/pages/settings/index.js +++ b/pages/settings/index.js @@ -28,7 +28,6 @@ import { useServiceWorkerLogger } from '@/components/logger' import { useMe } from '@/components/me' import { INVOICE_RETENTION_DAYS, ZAP_UNDO_DELAY_MS } from '@/lib/constants' import { OverlayTrigger, Tooltip } from 'react-bootstrap' -import DeleteIcon from '@/svgs/delete-bin-line.svg' import { useField } from 'formik' import styles from './settings.module.css' @@ -859,22 +858,25 @@ I estimate that I will call the GraphQL API this many times (rough estimate is f // link to DM with ek on SimpleX const simplexLink = 'https://simplex.chat/contact#/?v=1-2&smp=smp%3A%2F%2F6iIcWT_dF2zN_w5xzZEY7HI2Prbh3ldP07YTyDexPjE%3D%40smp10.simplex.im%2FxNnPk9DkTbQJ6NckWom9mi5vheo_VPLm%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEAnFUiU0M8jS1JY34LxUoPr7mdJlFZwf3pFkjRrhprdQs%253D%26srv%3Drb2pbttocvnbrngnwziclp2f4ckjq65kebafws6g4hy22cdaiv5dwjqd.onion' - const disabled = !enabled || apiKey - return ( <>
api key
{apiKey ? 'you can have only one API key at a time' : 'request access to API keys in ~meta'} : <>} + overlay={!enabled ? {apiKey ? 'you can have only one API key at a time' : 'request access to API keys in ~meta'} : <>} trigger={['hover', 'focus']} >
- {apiKey && - { - showModal((onClose) => ) - }} - />}
  • use API keys with our GraphQL API for authentication