#Can't pass variable from useState after passing the function for useState to a component

1 messages · Page 1 of 1 (latest)

errant vault
#

brightness change makes me unable to disable the navbar after enabling it, but just not changing the brightness at all behaves normally chefkiss

#

this literally makes no sense

#

note: only values that are not 100 break it

errant vault
#

is my tailwind broken or sum ??? i had it set to 50 and refresh didn't change brightness, but changing it manually works or what

#

but why can't i pass the globalBrightness variable after i pass the setGlobalBrightness function? 😐