useComputedColorScheme
with getInitialValueInEffect: true
won't work
#5549
Labels
Fixed patch
Completed issues that will be published with next patch (1.0.X)
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.4.1
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
All
Describe the bug
because the config is not passed into the
useMantineColorScheme
hook:mantine/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-computed-color-scheme.ts
Line 9 in eae084e
mantine/packages/@mantine/core/src/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.ts
Line 45 in eae084e
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
Pass the configuration down to make it take effect?
Self-service
The text was updated successfully, but these errors were encountered: