mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 08:54:27 +02:00
Lint all files
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
export const setLocalStorageSettings = (type: 'player', object: any) => {
|
||||
const settings = JSON.parse(localStorage.getItem('settings') || '{}');
|
||||
const settings = JSON.parse(localStorage.getItem('settings') || '{}');
|
||||
|
||||
const newSettings = {
|
||||
...settings,
|
||||
[type]: { ...object },
|
||||
};
|
||||
const newSettings = {
|
||||
...settings,
|
||||
[type]: { ...object },
|
||||
};
|
||||
|
||||
localStorage.setItem('settings', JSON.stringify(newSettings));
|
||||
localStorage.setItem('settings', JSON.stringify(newSettings));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user