Fixes global console error (#4825)

This commit is contained in:
Alex van Andel
2022-10-04 14:01:32 +00:00
committed by GitHub
parent e7ed20ea27
commit d43d8700d0
+1 -1
View File
@@ -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;