Fixes global console error (#4825)
This commit is contained in:
@@ -764,7 +764,7 @@ const loggedInViewerRouter = createProtectedRouter()
|
||||
const apps = getApps(credentials);
|
||||
const appFromDb = apps.find((app) => app.credential?.appId === appId);
|
||||
if (!appFromDb) {
|
||||
return appFromDb;
|
||||
return null;
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { credential: _, credentials: _1, ...app } = appFromDb;
|
||||
|
||||
Reference in New Issue
Block a user