Skip to content

Commit

Permalink
fix: 🔥 go to child is working fine
Browse files Browse the repository at this point in the history
go to child is working fine for master data

Ref #no-ref
  • Loading branch information
techoneel committed Nov 2, 2024
1 parent 3297701 commit ee4af27
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/components/MasterData.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from "react";

import { coreUseNavigate, coreUseParams, CoreDataTable, CoreLayoutItem, AppContainerLayout } from "@wrappid/core";

import { RoutesRegistry } from "../routes.registry";
import { AppContainerLayout, CoreDataTable, CoreLayoutItem, coreUseNavigate, coreUseParams } from "@wrappid/core";

export default function MasterData() {
const navigate = coreUseNavigate();
Expand All @@ -23,7 +21,7 @@ export default function MasterData() {
}, [parentID]);

const onChildClick = (data) => {
navigate("/" + RoutesRegistry.MASTER_DATA + "/" + data.id);
navigate("/masterData/all/" + data.id);
};

// eslint-disable-next-line no-console
Expand Down

0 comments on commit ee4af27

Please sign in to comment.