feat: add Admin layout
This commit is contained in:
@@ -93,11 +93,6 @@ export async function getProject(id: string): Promise<Project> {
|
||||
return data
|
||||
}
|
||||
|
||||
export async function getProjectOverview(id: string) {
|
||||
const { data } = await api.get(`/api/projects/${id}/overview`)
|
||||
return data
|
||||
}
|
||||
|
||||
export async function createProject(name: string, description?: string): Promise<Project> {
|
||||
const { data } = await api.post<Project>('/api/projects', { name, description })
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user