Move versions to background
This commit is contained in:
parent
b69cc04856
commit
067da88d06
6 changed files with 5 additions and 5 deletions
|
@ -1,10 +0,0 @@
|
|||
const load = async() => {
|
||||
let { version } = await browser.storage.local.get('version');
|
||||
return version;
|
||||
};
|
||||
|
||||
const save = (version) => {
|
||||
return browser.storage.local.set({ version });
|
||||
};
|
||||
|
||||
export { load, save };
|
Reference in a new issue