Fix: Added dynamic Routing For OnClick
This commit is contained in:
@@ -7,7 +7,6 @@ const Td = ({ children }) => {
|
||||
<td
|
||||
className="px-6 py-4"
|
||||
onClick={() => {
|
||||
console.log("Td", children._id);
|
||||
navigate(`farmpage/${children._id}`);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user