fix: show correct key name when enabling darkMode (#2635)

This commit is contained in:
impulse 2020-10-21 13:12:31 +02:00 • committed by GitHub
parent 1dd7bbc363
commit 539738d418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ const defaultVariantGenerators = (config) => ({
return modified
}
throw new Error("The `dark` config option must be either 'media' or 'class'.")
throw new Error("The `darkMode` config option must be either 'media' or 'class'.")
},
{ unstable_stack: true }
),