Add files

This commit is contained in:
jeffvli
2022-12-19 15:59:14 -08:00
commit e87c814068
266 changed files with 63938 additions and 0 deletions
@@ -0,0 +1,10 @@
export const setLocalStorageSettings = (type: 'player', object: any) => {
const settings = JSON.parse(localStorage.getItem('settings') || '{}');
const newSettings = {
...settings,
[type]: { ...object },
};
localStorage.setItem('settings', JSON.stringify(newSettings));
};