When the layout component renders, it loads the dark theme and just after that it tries to figure what is the users preference, that takes some time to process creating a strange behavior on the UI changing the layout everytime we changed the page, if it is on light mode.
When the layout component renders, it loads the dark theme and just after that it tries to figure what is the users preference, that takes some time to process creating a strange behavior on the UI changing the layout everytime we changed the page, if it is on light mode.