Cosmetics
This commit is contained in:
parent
ee5dbcf33e
commit
e569bcb246
21 changed files with 54 additions and 65 deletions
|
|
@ -7,8 +7,7 @@ export default class extends Controller {
|
|||
|
||||
connect() {
|
||||
const cookieValue = Cookie.get(this.COOKIE_NAME);
|
||||
console.log("cookieValue", cookieValue);
|
||||
if(cookieValue) {
|
||||
if (cookieValue) {
|
||||
return true;
|
||||
}
|
||||
const darkMode = window.matchMedia("(prefers-color-scheme:dark)").matches ? "dark" : "light";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue