mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
fix: fix insert
This commit is contained in:
@ -14,7 +14,7 @@ const set = (key: string, value: unknown) => {
|
||||
store.set(key, value);
|
||||
};
|
||||
const setPartial = (key: string, value: object) => {
|
||||
deepmerge(store.get(key), value);
|
||||
deepmerge(store.get(key) ?? {}, value);
|
||||
store.set(value);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user