Skip to content

Commit

Permalink
Merge branch 'main' into repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Octomerger authored Aug 12, 2021
2 parents a1d690a + a988da3 commit 6819920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/getThemeProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const cssColorModeToJs: Record<string, string> = {
dark: 'night',
}

export const getThemeProps = (req: any, mode?: 'css') => {
export function getThemeProps(req: any, mode?: 'css') {
let cookieValue: {
color_mode?: 'auto' | 'light' | 'dark'
dark_theme?: { name: string }
Expand Down

0 comments on commit 6819920

Please sign in to comment.