summaryrefslogtreecommitdiff
path: root/src/containers/Service/ServiceList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/Service/ServiceList.tsx')
-rw-r--r--src/containers/Service/ServiceList.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Service/ServiceList.tsx b/src/containers/Service/ServiceList.tsx
index 6af2d1b..b7054eb 100644
--- a/src/containers/Service/ServiceList.tsx
+++ b/src/containers/Service/ServiceList.tsx
@@ -15,7 +15,7 @@ const ServiceList: React.FC = () => {
const handleRowClick = (index: number) => {
const item = data && data[index];
- history.push(`/${service.route}/edit/${item?._id}`);
+ history.push(`/${service.route}/${item?._id}`);
};
return (