Sync side bar with localstorage
This commit is contained in:
@@ -57,11 +57,11 @@
|
||||
});
|
||||
});
|
||||
|
||||
// $: {
|
||||
// if (process.browser && show !== null) {
|
||||
// localStorage.setItem('hideCourseNav', `${!show}`);
|
||||
// }
|
||||
// }
|
||||
$: {
|
||||
if (process.browser && show !== null) {
|
||||
localStorage.setItem('hideCourseNav', `${!show}`);
|
||||
}
|
||||
}
|
||||
|
||||
$: {
|
||||
navItems = [
|
||||
|
||||
Reference in New Issue
Block a user