From bc5063b44c7b9100ee907e8452c9d0662f1ae4be Mon Sep 17 00:00:00 2001
From: Myzel394 <50424412+Myzel394@users.noreply.github.com>
Date: Fri, 10 Mar 2023 21:38:16 +0100
Subject: [PATCH] feat(api-keys): Add to settings
---
public/locales/en-US/settings.json | 3 ++-
src/routes/SettingsRoute.tsx | 7 +++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/public/locales/en-US/settings.json b/public/locales/en-US/settings.json
index 7ab1855..3f70247 100644
--- a/public/locales/en-US/settings.json
+++ b/public/locales/en-US/settings.json
@@ -2,6 +2,7 @@
"title": "Settings",
"actions": {
"enable2fa": "Two-Factor-Authentication",
- "aliasPreferences": "Alias Preferences"
+ "aliasPreferences": "Alias Preferences",
+ "apiKeys": "Edit API Keys"
}
}
diff --git a/src/routes/SettingsRoute.tsx b/src/routes/SettingsRoute.tsx
index bb0b06e..a103fe6 100644
--- a/src/routes/SettingsRoute.tsx
+++ b/src/routes/SettingsRoute.tsx
@@ -1,6 +1,7 @@
import {useTranslation} from "react-i18next"
import {GoSettings} from "react-icons/go"
import {BsShieldLockFill} from "react-icons/bs"
+import {MdVpnKey} from "react-icons/md"
import {Link} from "react-router-dom"
import React, {ReactElement} from "react"
@@ -26,6 +27,12 @@ export default function SettingsRoute(): ReactElement {
+
+
+
+
+
+
)