pproducts
This commit is contained in:
10
lib/allProducts.ts
Normal file
10
lib/allProducts.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const allProduct = async () => {
|
||||
try{
|
||||
const res = await axios.get('')
|
||||
}catch(err){
|
||||
console.log("all product error: ",err);
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user