исправил http

This commit is contained in:
Joe_Peach committed 2026-04-02 18:18:41 +03:00
1 parent cacc69a7d3
commit 941e3ea9df
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import axios from "axios";
/*import axios from "axios";
import type { Product } from "../types/product";
import type { Category } from "../types/categories";
@@ -10,5 +10,5 @@ export const fetchCategoryProducts = async (category: string): Promise<Product[]
export const fetchCategories = async (categoryid: string): Promise<Category[]> => {
const response = await axios.get(`https://your-api.com/api/category=${categoryid}`);
return response.data;
};
};*/