From 5a8c6c8183fd53522c5df14319450ba626946b95 Mon Sep 17 00:00:00 2001 From: Yury Date: Fri, 24 May 2024 16:05:52 +0300 Subject: [PATCH] chore: added changes from main --- src/routes/index.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 01c3948..4753835 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -13,6 +13,7 @@ export const appPrivateRoutes = { create: '/create', sign: '/sign', verify: '/verify', + profileSettings: '/settings/profile/:npub', relays: '/relays' } @@ -26,6 +27,9 @@ export const appPublicRoutes = { export const getProfileRoute = (hexKey: string) => appPublicRoutes.profile.replace(':npub', hexToNpub(hexKey)) +export const getProfileSettingsRoute = (hexKey: string) => + appPrivateRoutes.profileSettings.replace(':npub', hexToNpub(hexKey)) + export const publicRoutes = [ { path: appPublicRoutes.landingPage, @@ -60,6 +64,10 @@ export const privateRoutes = [ path: appPrivateRoutes.verify, element: }, + { + path: appPrivateRoutes.profileSettings, + element: + }, { path: appPrivateRoutes.relays, element: