From 68cba347acd3d6cc462c10c2d65d8b217ad8b2ed Mon Sep 17 00:00:00 2001 From: Aditya Sridhar Date: Thu, 11 Jan 2024 14:46:34 -0500 Subject: [PATCH] fix: remove duplicate routes --- web/src/Routes.tsx | 23 ----------------------- web/src/auth.ts | 3 +++ 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/web/src/Routes.tsx b/web/src/Routes.tsx index 3c81d8cf..9a73e69a 100644 --- a/web/src/Routes.tsx +++ b/web/src/Routes.tsx @@ -40,29 +40,6 @@ const Routes = () => { - {/* Uploads */} - - - - - - {/* Agencies */} - - - - - {/* Users */} - - - - - {/* Reporting Periods */} - - {/* Organizations */} - - - - diff --git a/web/src/auth.ts b/web/src/auth.ts index 2ded870c..eeb6664b 100644 --- a/web/src/auth.ts +++ b/web/src/auth.ts @@ -33,11 +33,13 @@ const client = { login: () => ({ id: 1, email: 'email@example.com', + organizationId: 1, roles: [], }), signup: () => ({ id: 1, email: 'email@example.com', + organizationId: 1, roles: [], }), logout: () => {}, @@ -45,6 +47,7 @@ const client = { getUserMetadata: () => ({ id: 1, email: 'email@example.com', + organizationId: 1, roles: [], }), }