@@ -1,4 +1,3 @@
-<script setup lang="ts"></script>
<template>
<div class="size-full shrink-0">
<div class="size-full rounded bg-primary/10"></div>
@@ -8,7 +8,6 @@ const tabsStore = useTabsStore()
const userStore = useUserStore()
export function resetSystemData() {
-
const oldLocalStorage = localStorage.getItem('configure')
if (oldLocalStorage || !haveSameKeys(preferencesStore.preferences, DEFAULT_PREFERENCES_OPTIONS)) {
tabsStore.clearTabs()
@@ -4,7 +4,6 @@ import { getAllKeys, haveSameKeys, mergeWithArrayReplace } from './lodash-helper
describe('lodash-helpers', () => {
it('should be mergeWithArrayReplace', () => {
const obj1 = {
a: 1,
b: 2,
@@ -13,7 +12,7 @@ describe('lodash-helpers', () => {
e: 4,
f: 5,
},
- g: [1, 2]
+ g: [1, 2],
}
const obj2 = {