Skip to content

Commit 4dd2f88

Browse files
committed
website: fix type error.
1 parent 1bd4ade commit 4dd2f88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react": "^18.2.0",
1818
"react-code-preview-layout": "^3.0.1",
1919
"react-dom": "^18.2.0",
20-
"styled-components": "^6.0.0-rc.3"
20+
"styled-components": "^6.0.0-rc.5"
2121
},
2222
"devDependencies": {
2323
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",

www/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createGlobalStyle } from 'styled-components';
44
import '@wcj/dark-mode';
55
import App from './App';
66

7-
export const GlobalStyle = createGlobalStyle`
7+
export const GlobalStyle = createGlobalStyle<any>`
88
[data-color-mode*='dark'], [data-color-mode*='dark'] body {}
99
[data-color-mode*='light'], [data-color-mode*='light'] body {
1010
background-color: #f2f2f2;

0 commit comments

Comments
 (0)