Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Category CRUD Actions

Premium
15 min read

Next, we need a way to manage the categories. For that, we will create all the missing actions:

  • Create Action
  • Edit Action
  • Delete Action
  • Add Icons to the Categories List

Here's what this will look like:


Edit Action and List Buttons

Let's start with the Edit Button. For this, we will need...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

J
jrecio ✓ Link copied!

Argument of type '/categories/${string}' is not assignable to parameter of type 'RelativePathString | ExternalPathString | "/sign-in" | /sign-in?${string} | /sign-in#${string} | "/sign-up" | /sign-up?${string} | /sign-up#${string} | "/(app)" | "/(app)/categories/id" | ... 19 more ... | { ...; }'.ts(2345)

Got this error from this line:- router.push(/categories/${category.id});