antd Table onRow onClick to another component

Edit your code as following and your code might work:

onRow={(i) => ({
    onClick: (e) => 
        history.push('/admin/ViewLog')
})}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top