Fixes global console error (#4825)
This commit is contained in:
1 parent
e7ed20ea27
commit
d43d8700d0
1 file changed
+1
-1
@@ -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