complated service and service detail page connection to backend

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-02-17 16:15:49 +05:00
parent c01520399a
commit 123e6324e4
9 changed files with 218 additions and 202 deletions

View File

@@ -7,7 +7,7 @@ export const endPoints = {
},
services: {
all: "firesafety/",
detail: (id: number) => `/api/firesafety/${id}`,
detail: (id: number) => `firesafety/${id}`,
},
product: {
byCategory: (categoryId: number) => `product/?category=${categoryId}`,