mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
fix: remove extra curly brace in style element (#146)
This commit is contained in:
@@ -14,10 +14,10 @@ export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<>
|
||||
<style jsx global>{`
|
||||
:root {
|
||||
--font-sans: ${fontSans.style.fontFamily};
|
||||
}
|
||||
}`}</style>
|
||||
:root {
|
||||
--font-sans: ${fontSans.style.fontFamily};
|
||||
}
|
||||
`}</style>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
<Component {...pageProps} />
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user