import multiple Makestyles in tss-react #186
Replies: 1 comment
-
Hi @JohnDisilwaJD47, First of you should alwas prefix your hooks name by function MyComponent(){
const { classes: rfpGridClasses } = useRfpGridStyles();
const { classes: intageTableClasses } = useIntakeTableStyles();
// ...
} By the way, chatGPT is very good for answering this types of questions: https://chat.openai.com/share/3006a37a-2045-4591-b1e9-bb5c7fd7f2f6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how to import multiple makeStyles using tss-react
const { classes } = RfpGridStyles();
const { classes } = IntakeTableStyles();
it shows redeclare block-scoped variable error
Beta Was this translation helpful? Give feedback.
All reactions