-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(components): refactor components and remove tailwind prefix #7
feat(components): refactor components and remove tailwind prefix #7
Conversation
case "boolean": | ||
return ( | ||
<Badge variant={value ? "default" : "secondary"}> | ||
{value ? "True" : "False"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😬 this is a bit odd, right? I'd even use emojis ❌ and ✅ instead of True and False strings. I think only technical users would digest that 😅
encType?: string; | ||
method?: "post" | "get"; | ||
}) => { | ||
// const csrfToken = ReactOnRails.authenticityToken(); | ||
const csrfToken = useRailsApp(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#would
try to not make this mandatory here so that we could use this project in bleu's nextjs projects as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
As a note, I don't think we needed a separate task for this as it was part of your other tasks.
Also, I sent 1ff1b4d
No description provided.