From f1c70fcc408ed316a79960596cb84c52fa0178a2 Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Wed, 26 Jun 2024 12:08:52 +0100 Subject: [PATCH] remove comment out of general settings inherited from main --- editor.planx.uk/src/routes/teamSettings.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/editor.planx.uk/src/routes/teamSettings.tsx b/editor.planx.uk/src/routes/teamSettings.tsx index 27fcb11715..48afba1a8d 100644 --- a/editor.planx.uk/src/routes/teamSettings.tsx +++ b/editor.planx.uk/src/routes/teamSettings.tsx @@ -28,7 +28,7 @@ const teamSettingsRoutes = compose( if (!isAuthorised) throw new NotFoundError( - `User does not have access to ${req.originalUrl}`, + `User does not have access to ${req.originalUrl}` ); return route(async (req) => ({ @@ -47,17 +47,17 @@ const teamSettingsRoutes = compose( route: "design", Component: DesignSettings, }, - // { - // name: "General", - // route: "general", - // Component: GeneralSettings, - // }, + { + name: "General", + route: "general", + Component: GeneralSettings, + }, ]} /> ), })); }), - }), + }) ); export default teamSettingsRoutes;