Merge remote-tracking branch 'origin/main' into navbar
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
'use server';
|
||||
|
||||
import { IProjectCardProps } from '@/components/pages/project/project';
|
||||
import api from '@/lib/axios';
|
||||
import { IResponse } from '@/models/response';
|
||||
import { cookies } from 'next/headers';
|
||||
|
||||
export async function getProjects() {
|
||||
@@ -12,7 +10,6 @@ export async function getProjects() {
|
||||
headers: {
|
||||
Cookie: cookiesStore.toString(),
|
||||
},
|
||||
|
||||
})
|
||||
.then(({ data }) => Promise.resolve(data.data))
|
||||
.catch((error) => Promise.reject(error));
|
||||
|
||||
Reference in New Issue
Block a user