Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Guhapriya01 committed Mar 25, 2024
1 parent a2a5fd1 commit 92f6372
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/user-preference.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ export default class UserPreferenceService extends Service {
}

get theme(){
let cookieArr = document.cookie.split(';');
let cookieArr = document.cookie.split('; ');
let t = 'light';

if(cookieArr.length>0){
cookieArr.forEach((cookie)=>{
let keyValue = cookie.split("=");
Expand Down

0 comments on commit 92f6372

Please sign in to comment.