Skip to content

Commit

Permalink
add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 15, 2024
1 parent 4ceba2c commit dcb1ca9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/client/core/core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ declare global {
var m: MediaQueryList;
}

/** function to be injected in script tag for avoiding FOUC */
export const s = (storageKey: string) => {
const [SYSTEM, DARK] = ["system", "dark"] as const;
window.u = (mode: ColorSchemePreference, systemMode: ResolvedScheme) => {
Expand Down

0 comments on commit dcb1ca9

Please sign in to comment.