diff --git a/daikoku/javascript/src/components/backoffice/me/MyProfile.tsx b/daikoku/javascript/src/components/backoffice/me/MyProfile.tsx index e20c16134..53404eae9 100644 --- a/daikoku/javascript/src/components/backoffice/me/MyProfile.tsx +++ b/daikoku/javascript/src/components/backoffice/me/MyProfile.tsx @@ -378,9 +378,6 @@ export const MyProfile = () => { const [tab, setTab] = useState('infos'); const { tenant, reloadContext } = useContext(GlobalContext); - const [token, setToken] = useState(""); - - const [copiedTimeout, setCopiedTimeout] = useState() const { translate, setLanguage, language, Translation, languages } = useContext(I18nContext); const { confirm } = useContext(ModalContext); @@ -466,12 +463,6 @@ export const MyProfile = () => { toast.error(user.error) } }); - - return () => { - if (copiedTimeout) { - clearTimeout(copiedTimeout) - } - } }, []); const save = (data: any) => { @@ -536,16 +527,6 @@ export const MyProfile = () => { AccountSecurity -
  • - { - setTab('cms_cli') - }} - > - CMS CLI - -
  • {tab === 'infos' && (
    { )} - - {tab === "cms_cli" &&
    -

    Comming soon

    -
    } ); diff --git a/daikoku/javascript/src/locales/en/translation.json b/daikoku/javascript/src/locales/en/translation.json index 4333d0acc..982a11972 100644 --- a/daikoku/javascript/src/locales/en/translation.json +++ b/daikoku/javascript/src/locales/en/translation.json @@ -1411,10 +1411,6 @@ "aggregation.button.subscription.disable.label": "No api keys are present in your team", "aggregation.button.subscription.active.label": "Subscribe using an existing api key", "documentation.not.setted.message": "it's seems that this plan has no documentation setted", - "profile.cmscli.reset.title": "CMS CLI", - "profile.cmscli.reset.token": "Reset token", - "profile.cmscli.copy.token": "Copy", - "profile.cmscli.paste.token": "Copied", "authentication.form.jwtverifier.label": "JWT verfier", "authentication.form.jwtverifier.sha.size.label": "SHA size", "authentication.form.jwtverifier.hmacsecret.label": "Hmac secret", diff --git a/daikoku/javascript/src/locales/fr/translation.json b/daikoku/javascript/src/locales/fr/translation.json index 9ab950b59..01d9c96e9 100644 --- a/daikoku/javascript/src/locales/fr/translation.json +++ b/daikoku/javascript/src/locales/fr/translation.json @@ -1411,10 +1411,6 @@ "aggregation.button.subscription.disable.label": "Aucune clé d'API", "aggregation.button.subscription.active.label": "Souscrire en étendant une clé d'API existante", "documentation.not.setted.message": "Il semble qu'aucune documentation ne soit définie pour ce plan", - "profile.cmscli.reset.title": "CMS CLI", - "profile.cmscli.reset.token": "Renouveler le jeton", - "profile.cmscli.copy.token": "Copier", - "profile.cmscli.paste.token": "Copié", "authentication.form.jwtverifier.label": "JWT verfier", "authentication.form.jwtverifier.sha.size.label": "SHA size", "authentication.form.jwtverifier.hmacsecret.label": "Hmac secret",