remove temp data with TODO

This commit is contained in:
2025-09-10 06:42:14 +03:00
parent 76433684e7
commit e0adc2fb68

View File

@@ -28,20 +28,15 @@ async function workspaceLoader() {
const workspacePromise = api.getAccountWorkspace(); const workspacePromise = api.getAccountWorkspace();
// TODO!: remove before deploy to prod const [accounts, workspace, user] = await Promise.all([
const tempAccountsPromise = () => api.loadTempUserAccounts();
const [accounts, workspace, user, tempVisibleAccounts] = await Promise.all([
accountsPromise(), accountsPromise(),
workspacePromise, workspacePromise,
requireUserInServerComponent(), requireUserInServerComponent(),
tempAccountsPromise(),
]); ]);
return { return {
accounts, accounts,
workspace, workspace,
user, user,
tempVisibleAccounts,
}; };
} }