diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-14 01:12:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 01:12:31 +0300 |
commit | b2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch) | |
tree | acdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/alf | |
parent | 275fece3e3de0bd09377a33813bcfe35e352874b (diff) | |
download | voidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst |
Add displayName to contexts (#8814)
Diffstat (limited to 'src/alf')
-rw-r--r-- | src/alf/index.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alf/index.tsx b/src/alf/index.tsx index 5443669c7..bee8ed78c 100644 --- a/src/alf/index.tsx +++ b/src/alf/index.tsx @@ -8,9 +8,9 @@ import { setFontScale as persistFontScale, } from '#/alf/fonts' import {createThemes, defaultTheme} from '#/alf/themes' -import {Theme, ThemeName} from '#/alf/types' +import {type Theme, type ThemeName} from '#/alf/types' import {BLUE_HUE, GREEN_HUE, RED_HUE} from '#/alf/util/colorGeneration' -import {Device} from '#/storage' +import {type Device} from '#/storage' export {atoms} from '#/alf/atoms' export * from '#/alf/breakpoints' @@ -61,6 +61,7 @@ export const Context = React.createContext<Alf>({ }, flags: {}, }) +Context.displayName = 'AlfContext' export function ThemeProvider({ children, |