Shadcn table deleting on action. #1675
Unanswered
JacoboGanon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Shadcn able with the drop down menu and I have one called delete. I wanted for the onClick of this to call my trpc procedure but I can't use the typical useQuery for it because reactive components can only be used in react functions.
{
id: "actions",
header: () =>
enableHiding: false,
cell: ({ row }) => {
const employee = row.original;
},
Beta Was this translation helpful? Give feedback.
All reactions