forked from Archives/Athou_commafeed
remove usage of createStyles from mantine that is removed in v7
This commit is contained in:
11
commafeed-client/src/tss.ts
Normal file
11
commafeed-client/src/tss.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { createTss } from "tss-react"
|
||||
|
||||
const useContext = () => {
|
||||
// return anything here that will be accessible in tss.create()
|
||||
// we don't need anything right now
|
||||
return {}
|
||||
}
|
||||
|
||||
export const { tss } = createTss({ useContext })
|
||||
|
||||
export const useStyles = tss.create({})
|
||||
Reference in New Issue
Block a user