refactor: setup project wizards with only three steps

This commit is contained in:
Haileyesus
2026-03-27 22:16:56 +03:00
parent ec70bfe7c7
commit 6cfe617711
19 changed files with 332 additions and 563 deletions

View File

@@ -7,7 +7,7 @@ import type { Project } from '@/types/app';
*/
export const fetchWorkspaces = async (): Promise<Project[]> => {
try {
const response = await authenticatedFetch('/api/get-workspaces');
const response = await authenticatedFetch('/api/projects');
if (!response.ok) {
throw new Error(`Failed to fetch workspaces: ${response.statusText}`);
}