How to use getInitialProps within _app.tsx?
I'm trying to get the current
color-scheme
which is saved in a cookie into the app page. Is there a simple way to do that?
I already tried different solutions, which did not work. Currently I have the following:
But if I try to access the colorScheme in the App function there is noting to find:
The console.log results in the following:
0 Replies