Felix Lu

Results 4 comments of Felix Lu

``` import React, { useState } from "react" import { Star } from "lucide-react" import { cn } from "@/lib/utils" const ratingVariants = { default: { star: "text-foreground", emptyStar: "text-muted-foreground",...

update: after testing it is coming from @tiptap/react, it has the editable prop but no matter what we set up the editable it doesn't take any effect.

@akdeb I also had to add a bunch of null checks to address the ts errors. However, the wired thing is useEditor() from original package doesn't return null but only...

> [This](https://github.com/shadcn-ui/ui/issues/711#issuecomment-1637040546) fixed it for me. Specifically I had to remove `rounded-md` on `Command`. translate-y-[-50.4%] doesn't work for me, but this is working