IK
Size: a a a
IK
IK
AS
VP
IK
VP
VP
VV
DP
MI
IK
z
IK
M
M
ɹ
export const storage = {Вылетает такая ошибка:
setFilteredNotifications: (value: number[]) => {
localStorage.setItem('filteredNotifications', JSON.stringify(value))
},
getFilteredNotifications: (): number[] => {
return JSON.parse(localStorage.getItem('filteredNotifications')) as number[] ?? [];
}
};
TypeError: Cannot read property 'range' of null
Occurred while linting <PATH>\src\helpers\storage.ts:6
ɹ
export const storage = {Вылетает такая ошибка:
setFilteredNotifications: (value: number[]) => {
localStorage.setItem('filteredNotifications', JSON.stringify(value))
},
getFilteredNotifications: (): number[] => {
return JSON.parse(localStorage.getItem('filteredNotifications')) as number[] ?? [];
}
};
TypeError: Cannot read property 'range' of null
Occurred while linting <PATH>\src\helpers\storage.ts:6
W
W
IK