Skip to content

Commit 3ac53fb

Browse files
pierrbtignyx
authored andcommitted
chore: run lint-fix
1 parent 6bb7e31 commit 3ac53fb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/context/cacheContext.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useContext } from 'react';
22
import { PlanexGroupsType } from '../screens/Planex/GroupSelectionScreen';
33

4-
54
export type CacheType = {
65
planex?: {
76
groups?: PlanexGroupsType;
@@ -24,7 +23,6 @@ export function useCache() {
2423
return useContext(CacheContext);
2524
}
2625

27-
2826
export function useCachedPlanexGroups() {
2927
const { cache, setCache } = useCache();
3028
const groups = cache?.planex?.groups;

src/utils/asyncStorage.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ export function retrievePreferences<
157157
result.forEach((item) => {
158158
let [key, value] = item;
159159
if (value !== null) {
160-
if (key === "dashboardItems" && value.includes("proximo")) {
160+
if (key === 'dashboardItems' && value.includes('proximo')) {
161161
// The user has changed the dashboard items
162162
// We need to replace Proximo because it isn't supported anymore (05/11/2025)
163163
// In order to do so, we reset the dashboard items to the default value
164164
value = defaultPreferences.dashboardItems;
165165
setPreference(PreferenceKeys.dashboardItems, value, defaults);
166-
console.log("Proximo successfully removed");
166+
console.log('Proximo successfully removed');
167167
}
168-
168+
169169
preferences[key as Keys] = value;
170170
}
171171
});

0 commit comments

Comments
 (0)