Skip to content

Defining hash: true in config breaks recipe #2512

Answered by segunadebayo
Gytjarek asked this question in Q&A
Discussion options

You must be logged in to vote

This is not a bug. You should not be hardcoding the className; instead, use the button function. When hash: true is set, the class name of the button is no longer "button" but rather a generated hash of that className.

https://play.panda-css.com/Aj_Ylka4zi/oTFJida6lo

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@segunadebayo
Comment options

Comment options

You must be logged in to vote
7 replies
@segunadebayo
Comment options

Answer selected by segunadebayo
@Gytjarek
Comment options

@segunadebayo
Comment options

@anubra266
Comment options

@Gytjarek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants