Skip to content

Commit ffd1dd1

Browse files
authored
Merge pull request #8995 from github/repo-sync
repo sync
2 parents a1d690a + 9b4f5d5 commit ffd1dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/lib/getThemeProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const cssColorModeToJs: Record<string, string> = {
1515
dark: 'night',
1616
}
1717

18-
export const getThemeProps = (req: any, mode?: 'css') => {
18+
export function getThemeProps(req: any, mode?: 'css') {
1919
let cookieValue: {
2020
color_mode?: 'auto' | 'light' | 'dark'
2121
dark_theme?: { name: string }

0 commit comments

Comments
 (0)